What is the output of the following code segment if the user enters 90 for the score? cout << "Enter your test scores: "; cin >> test_score; if (test_score < 60) cout << "You failed the test. " << endl; if (test_score > 60) cout << "You passed the test."; else cout << "You need to study harder next time." << endl; Group of answer choices

Respuesta :

Answer:

The output will be "You passed the test."

Since 90 is greater than 60 .