摘要: #include int main(void) { int i; int va[5]={1,2,3,4}; int vb[5]; for (i=0;i int main(void) { int i; int vx[5]; for (i=0;i int main(void) { int i; in... 阅读全文
posted @ 2016-06-10 15:19 V5八旗 阅读(124) 评论(0) 推荐(0) 编辑
摘要: #include int main(void) { int n[10]; int c=10; long sum=0L; float av=0.0f; int i; printf("shuru 10ge\n"); for(i=0;i>>>",i+1); scanf("%d",&n[i]); ... 阅读全文
posted @ 2016-06-09 20:47 V5八旗 阅读(126) 评论(0) 推荐(0) 编辑
摘要: #include int main() { int i; for (i=1;i<=7;i++) { if (i==3) continue; printf("%d\n",i); } system("pause"); }//这样直接跳过3,输出结果为124567 阅读全文
posted @ 2016-06-08 14:24 V5八旗 阅读(158) 评论(0) 推荐(0) 编辑
摘要: #include int main() { int i,j,c=0; for(i=1;i int main() { int number=4; do { printf("heloo"); number++; } while (number<4); printf("\n%d",number); ... 阅读全文
posted @ 2016-06-08 14:04 V5八旗 阅读(124) 评论(0) 推荐(0) 编辑
摘要: #include int main(void) { long sum=0L; int count =0; int i,j;这个地方必须把它全局声明。这样才不会出现一个叫做 :只允许在 C99 模式下使用‘for’循环初始化声明 的错误。 printf("\nEnter the number of integers you wnat to su... 阅读全文
posted @ 2016-06-08 13:35 V5八旗 阅读(138) 评论(0) 推荐(0) 编辑
摘要: #include int main(void ) { double number1=0.0; double number2=0.0; char operation =0; printf ("\nEnter the calculation \n"); scanf("%lf %c %lf ",&number1,operation,... 阅读全文
posted @ 2016-06-06 18:44 V5八旗 阅读(158) 评论(0) 推荐(0) 编辑
摘要: If you can keep your head when all about you Are losing theirs and blaming it on you; If you can trust yourself when all men doubt you, But make allow 阅读全文
posted @ 2016-04-15 18:19 V5八旗 阅读(234) 评论(0) 推荐(0) 编辑