Examlex

Solved

What Is the Output of the Following Code Segment If

question 21

Multiple Choice

What is the output of the following code segment if the user enters 90 for the score?
Cout << "Enter your test score:
";
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;


Definitions:

Related Questions