... while(scanf ... while(scanf("%d",&n),n)功能:当输入n且n!=0时继续循环,当n为0时结束循环(上述三种写法都可实现此种功能)while(scanf("%d,&n)!=EOF)和 ...
確定! 回上一頁