2018年9月21日

摘要: #include<stdio.h>int main(){ int n,m; for(n = 1;n <= 9; n++) { for(m = 1;m<= n;m++){ printf("%d*%d=%-4d",m,n,m*n); } printf("\n"); } return 0; } 阅读全文
posted @ 2018-09-21 14:52 字子初 阅读(188) 评论(0) 推荐(0)
 
摘要: #include<stdio.h>int main(){ int n,m; for(n = 1;n <= 9; n++) { for(m = 1;m<= 9;m++){ printf("%d*%d=%-4d",m,n,m*n); } printf("\n"); } return 0; } 阅读全文
posted @ 2018-09-21 14:51 字子初 阅读(132) 评论(0) 推荐(0)

2018年9月20日

摘要: #include<stdio.h>#include<stdlib.h>#include<time.h>int main(){ int magic; //计算机随机生成的数 int guess; //人猜的数 int counter;//记录猜的次数 char reply; srand(time(NU 阅读全文
posted @ 2018-09-20 22:45 字子初 阅读(229) 评论(0) 推荐(0)
 
摘要: #include<stdio.h>#include<stdlib.h>#include<math.h>int main(){ int magic; //计算机随机生成的数 int guess; //人猜的数 int counter;//记录猜的次数 magic = rand() % 100 + 1; 阅读全文
posted @ 2018-09-20 22:18 字子初 阅读(470) 评论(0) 推荐(0)
 
摘要: #include<stdio.h>#include<stdlib.h>#include<math.h>int main(){ int magic; //计算机随机生成的数 int guess; //人猜的数 magic = rand() % 100 + 1; //1到100的随机数 printf(" 阅读全文
posted @ 2018-09-20 22:11 字子初 阅读(209) 评论(0) 推荐(0)
 
摘要: #include<stdio.h>int main(){ int x = 1,d = 10; while(d>1){ x = (x+1)*2; d--; } printf("x=%d",x); return 0;} 阅读全文
posted @ 2018-09-20 20:04 字子初 阅读(126) 评论(0) 推荐(0)
 
摘要: #include<stdio.h>int main(){ int x = 1,d = 1; while(d<10){ x = (x + 1)*2; d++; } printf("x=%d",x); return 0;} 阅读全文
posted @ 2018-09-20 19:58 字子初 阅读(184) 评论(0) 推荐(0)
 
摘要: show collections runoob system.indexes 阅读全文
posted @ 2018-09-20 13:20 字子初 阅读(18006) 评论(0) 推荐(0)