程式範例 main() { int i; printf("\nInput score:(0-100)"); //輸出字串。 scanf("%d",&i); //等待鍵盤輸入字元。 if(i>=0 && i<=100) if(i>=60) //i 值在0~100 之間?
確定! 回上一頁