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