以下程序的输出结果是( )。 #include <stdio.h> main
问题:
以下程序的输出结果是( )。 #include <stdio.h> main() { int i;for(i=1;i<5;i++){ if(i%2) printf("*"); else continue; printf("#");}printf("$\n");
A.*#*#*#$
B.#*#*#*$
C.*#*#$
D.#*#*$
以下程序的输出结果是( )。 #include <stdio.h> main() { int i;for(i=1;i<5;i++){ if(i%2) printf("*"); else continue; printf("#");}printf("$\n");
A.*#*#*#$
B.#*#*#*$
C.*#*#$
D.#*#*$