#835. while循环输入输出
while循环输入输出
当运行时输入:abcd$abcde, 下面程序的运行结果是( {{ input(1) }} )
#include<stdio.h>
void main()
{
while(putchar(getchar())!='$');
printf("end");
}
当运行时输入:abcd$abcde, 下面程序的运行结果是( {{ input(1) }} )
#include<stdio.h>
void main()
{
while(putchar(getchar())!='$');
printf("end");
}
By signing up a 羽润编程 universal account, you can submit code and join discussions in all online judging services provided by us.