摘要:
1.1while #include<stdio.h>int main(){ int i=22; long s=0; while(i<=1002) { s=s+i; i=i+20; } printf("s=%d\n",s); return 0;} 1.2do-while #include<stdio. 阅读全文
摘要:
1.1while #include<stdio.h>int main(){ int i=22; long s=0; while(i<=1002) { s=s+i; i=i+20; } printf("s=%d\n",s); return 0;} 1.2do-while #include<stdio. 阅读全文
|