main() {int a,b; for (a=1,b=1;a=20) break; if(b%3==1) {b+=3; continue; } b-=5; } } 程序的输出结果a的值为__________.
来源:学生作业帮助网 编辑:作业帮 时间:2024/08/28 06:56:10
main() {int a,b; for (a=1,b=1;a=20) break; if(b%3==1) {b+=3; continue; } b-=5; } } 程序的输出结果a的值为__________.
main() {int a,b; for (a=1,b=1;a=20) break; if(b%3==1) {b+=3; continue; } b-=5; } } 程序的输出结果a的值为__________.
main() {int a,b; for (a=1,b=1;a=20) break; if(b%3==1) {b+=3; continue; } b-=5; } } 程序的输出结果a的值为__________.
解释有点绕.我是直接用调试出结果
a = 8 .
main() {int a,b; for (a=1,b=1;a
#include stdio.h main() { int a,b,sum;#include stdio.hmain(){int a,b,sum;printf(Enter two numbers:
);scanf(%d%d,&a,&b);for(;a
error C2065:'a' :undeclared identifier#includeint main(){int print_shang();int print_xia();print_shang();print_xia();return 0;}int print_shang(){int a,b;for(a=1;a
#include void main() { int a,b,c; for(a=1; a
#include main( ) { int a=1,b=2; for(;a
#include main() {int b,i,a[20];for(i=0,i
#include void main() { int a,b,c,n; for(n=100;n
#include int b=2; int fun(int*k) { b=*k+b;return(b);} main() {int a[10]={1,2,3,4,5,6,7,8}#include int b=2; int fun(int*k) { b=*k+b;return(b);} main() {int a[10]={1,2,3,4,5,6,7,8},i;for(i=2;i
main() { int a; for(a=1;a
main() {int m[10],a;for(a=0,a
C++有道题看不懂,#include int func(int a,int b);int main(){cout
void fun(int a,int b) { int t; t=a;a=b;b=t; } main()void fun(int a,int b){ int t; t=a;a=b;b=t; } main() { int c[10]={1,2,3,4,5,6,7,8,9,0}.i; for(i=0;i
帮我解释一下这段程序中的表达式!/*说谎*/#includeint main(){int a,b,c;for(a=0;a
求教大神这程序那里错了#includeint main(){int a,b,c;for(a=1;a
#include void fun(int a, int b) { int t; t=a; a=b; b=t;main() { int c[10]={1,2,3,4,5,6,7,8,9,0), i; for (i=0; i
#include void fun(int a,int b) {int t; t=a;a=b;b=t; } main() {int c[6]={1,2,3,4,5,6},i;for(i=0;i
关于程序的求偶数和个数#include stdio.hvoid main(){int a;int b=0;for(a=0;a
这个程序哪里错了啊?#include#includeusing namespace std;int main(){int A,B,C,D,E,F;for(A=0;A