|
|
|
|
|
摘要:
/* Note:My name is zxf */ #include "stdio.h" void main() { int year,month,day,sumdays,maxdays,xx,yy,zz,yueshu; int x; printf("请输入一个年份:"); xx: x=scanf("%d",&year); if(x!=1||year9999) {... 阅读全文
posted @ 2017-12-04 19:56
邹秀芳
阅读(307)
推荐(0)
编辑
posted @ 2017-12-04 19:54
邹秀芳
阅读(127)
推荐(0)
编辑
摘要:
#include #define uint unsigned int #define uchar unsigned char sbit lw=P3^1; sbit ld=P3^0; uchar duan[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90}; uchar wei[]={0x01,0x02,0x04,0x08,0... 阅读全文
posted @ 2017-11-29 20:42
邹秀芳
阅读(229)
推荐(0)
编辑
摘要:
/* 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
邹秀芳
阅读(272)
推荐(0)
编辑
摘要:
#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
邹秀芳
阅读(426)
推荐(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
邹秀芳
阅读(485)
推荐(0)
编辑
摘要:
#include #define uint unsigned int #define uchar unsigned char uchar duan[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90}; sbit w1=P2^0; sbit w2=P2^1; uint num=0; void delay(uint n) { whil... 阅读全文
posted @ 2017-11-18 15:53
邹秀芳
阅读(209)
推荐(0)
编辑
摘要:
/* Note:Your choice is C IDE */ #include "stdio.h" void main() { int row,col,r,c; printf("请输入行数"); scanf("%d",&row); printf("请输入列数"); scanf("%d",&col); for(r=1;r1&&r1&&c<col) printf("... 阅读全文
posted @ 2017-11-18 15:49
邹秀芳
阅读(261)
推荐(0)
编辑
摘要:
/* Note:Your choice is C IDE */ #include "stdio.h" #include "stdlib.h" #include "time.h" void main() { int i,j; char name; srand((unsigned)time(NULL)); for(j=1;j<=10;j++) { ... 阅读全文
posted @ 2017-11-18 15:47
邹秀芳
阅读(156)
推荐(0)
编辑
摘要:
#include #define uint unsigned int #define uchar unsigned char uchar duan[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0x83,0xc6,0xa1,0x86,0x8e,0x71,0x0e,0x0c,0x0b,0x07}; // ... 阅读全文
posted @ 2017-11-15 20:03
邹秀芳
阅读(178)
推荐(0)
编辑
|
|