#include<stdio.h>
int main(void)
{
int i;
char ch;
scanf("%d",&i);
printf("i = %d\n",i);
//..........
while((ch = getchar()) != '\n')//如果ch的内容是\n ,那\n != \n就为假,跳出循环往下执行
continue;
int j;
scanf("%d",&j);
printf("j = %d\n",j);
return 0;
}
郝斌的C语言基础 041
最新推荐文章于 2024-08-16 21:54:14 发布