题目内容

运行程序,从键盘输入“ABCDE”,输出结果是( )。#include main ( ){char ch;while( ch=getchar( ), ch != '\n' )printf ("%c", ch+32);putchar(10);}

查看答案
更多问题

运行程序,从键盘输入“ABCDE#”,输出结果是( )。#include main ( ){char n=0;while(1)if( getchar() != '#' ) n++;else break;printf ("%d\n", n);}

运行程序,循环执行次数是( ),输出结果是( )。#include main ( ){int n = 1;while( n%8 )n=n+1;printf ("%d\n", n);}

运行程序,输出结果是( )。#include main ( ){int n=5;while( n<=15 ){ n=n+1;if(n%8 !=0 ) continue;printf ("%3d", n);}printf("\n");}

运行程序,输出结果是( )。#include main ( ){int n=0, m=1;do{ if(m%5) continue;n++;} while( ++m <= 100 );printf("%d\n", n);}

答案查题题库