摘要:
阅读全文
摘要:
#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( 阅读全文
摘要:
这次作业好难,基本都是在组长指导下完成的。尤其是第3题,现在还是看不懂 阅读全文
摘要:
1、4题请教了组长 阅读全文
摘要:
#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--) { ... 阅读全文
摘要:
#include<stdio.h>int main printf("输入第一个数组,共10个数字:"); for(i=0;i<10;i++) 阅读全文
摘要:
#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,&... 阅读全文
摘要:
超速罚款 比较大小 车费 统计学生成绩 三角判断 阅读全文
摘要:
#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; ... 阅读全文