b){printf("x=%d,", x);i++;}else {printf("y=%d,", y);j++;},C、if(a< =b){printf("x=%d,", x);i++;}else {printf("y=%d,", y);j++;},D、if(a >=b){printf("x=%d,", x);i++;}else {printf("y=%d,", y);j++;} _ 自考,成考学习,学历提升,考前押密,考前答题,选笔果题库就对了">
有以下程序段,若变量已正确定义并赋值
if(a>b)printf("x=%d,", x);
else printf("y=%d,", y);
if(a<=b)i++;
else j++;
则与此程序段功能相同的选项是______。
A
if(a >b){printf("x=%d,", x);j++;}
else {printf("y=%d,", y);i++;}
B
if(a >b){printf("x=%d,", x);i++;}
else {printf("y=%d,", y);j++;}
C
if(a< =b){printf("x=%d,", x);i++;}
else {printf("y=%d,", y);j++;}
D
if(a >=b){printf("x=%d,", x);i++;}
else {printf("y=%d,", y);j++;}