• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






zxf

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2017年11月22日

计算利润
摘要: /* Note:Your choice is C IDE */ #include "stdio.h" void main() { //定义变量 long int i; double bonus1,bonus2,bonus4,bonus6,bonus10,bonus; //输入利润数 printf("请输入利润数"); scanf("%1d",&i); ... 阅读全文
posted @ 2017-11-22 20:08 邹秀芳 阅读(301) 评论(0) 推荐(0)
 
外部中断0,1
摘要: #include #define uint unsigned int #define uchar unsigned char uchar duan[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f}; uchar liushui[]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f}; ucha... 阅读全文
posted @ 2017-11-22 20:04 邹秀芳 阅读(446) 评论(1) 推荐(0)
 
矩形按键
摘要: 1 #include 2 #define uint unsigned int 3 #define uchar unsigned char 4 uchar keynum=0; 5 uchar duan[]={0xc0,~0x06,~0x5b,~0x4f,~0x66,~0x6d,~0x7d,~0x07,~0x7f,~0x6f,~0x77,~0x7c,~0x39,~0x... 阅读全文
posted @ 2017-11-22 15:03 邹秀芳 阅读(507) 评论(0) 推荐(0)