... cin >> score; switch(score / 10) { case 10: case 9: cout << "得A" << endl; break; case 8: cout << "得B" << endl; break; case 7: cout << "得C" << endl; ...
確定! 回上一頁