摘要: 阅读全文
posted @ 2017-03-15 11:02 BGD160809326 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-03-10 16:59 BGD160809326 阅读(89) 评论(1) 推荐(0) 编辑
摘要: #include<stdio.h>struct student{ char sno[10]; char sname[20]; int age;}; int main(){ student class3[31]; FILE *fp=fopen("d:\\input.txt","r"); fscanf( 阅读全文
posted @ 2016-12-15 22:52 BGD160809326 阅读(139) 评论(1) 推荐(0) 编辑
摘要: 这次作业好难,基本都是在组长指导下完成的。尤其是第3题,现在还是看不懂 阅读全文
posted @ 2016-12-09 07:56 BGD160809326 阅读(131) 评论(1) 推荐(0) 编辑
摘要: 1、4题请教了组长 阅读全文
posted @ 2016-11-24 23:33 BGD160809326 阅读(192) 评论(1) 推荐(0) 编辑
摘要: #include int main() { int x[100],i,j=100; printf("数组中剩余的数是:"); for(i=0;i int main() { int a[10][10]; int b; int c; for(b=10;b>=1;b--) for(c=10;c>=1;c--) { ... 阅读全文
posted @ 2016-11-17 23:32 BGD160809326 阅读(236) 评论(1) 推荐(0) 编辑
摘要: #include<stdio.h>int main printf("输入第一个数组,共10个数字:"); for(i=0;i<10;i++) 阅读全文
posted @ 2016-11-11 12:31 BGD160809326 阅读(244) 评论(1) 推荐(0) 编辑
摘要: #include int main() { int n,i,a,sum=0; printf("请输入几个数:"); scanf("%d",&n); for(i=1;i double mypow() { double x,a=1; int n,i; printf("请依次输入x和n的值:"); scanf("%lf %d",&x,&... 阅读全文
posted @ 2016-11-04 09:06 BGD160809326 阅读(144) 评论(1) 推荐(0) 编辑
摘要: 超速罚款 比较大小 车费 统计学生成绩 三角判断 阅读全文
posted @ 2016-10-13 23:09 BGD160809326 阅读(185) 评论(1) 推荐(0) 编辑
摘要: #include #include #include int main()//猜数游戏 { int a,b,x,y; a=rand()%100+1; x,y=0; { printf("请输入一个整数"); int predefined=rand()%100; int a; scanf("%d",&a); int b; ... 阅读全文
posted @ 2016-10-09 22:03 BGD160809326 阅读(207) 评论(0) 推荐(0) 编辑