// This program determines whether test scores are passing marks. #include using namespace std; int main() { const unsigned int PASSING_SCORE = 60; int score; cout << "Enter a test scrore and I will tell you if it is a passing mark." << endl; cout << "Enter -1 to quit: "; cin >> score; while (score != -1) { if (score >= PASSING_SCORE) { cout << score << ": PASS" << endl; } else { cout << score << ": FAIL" << endl; } cout << "Enter a test scrore and I will tell you if it is a passing mark." << endl; cout << "Enter -1 to quit: "; cin >> score; } return 0; }