... while(scanf("%f %f",&length,&width)== 2)不過,使用 break可讓我們輕易地達到分別輸入數值的需求。如同 continue,若會使得程式碼變複雜的情形下,請勿使用 break。
確定! 回上一頁