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;
A) You failed the test.
B) You passed the test.
C) You need to study harder next time.
D) You failed the test.
You need to study harder next time.
E) You passed the test.
You need to study harder next time.
Correct Answer:

Verified
Correct Answer:
Verified
Q16: After the following code executes, what
Q17: Which value can be entered to cause
Q18: What is the value of the following
Q18: What is the value of the following
Q19: What is the output of the
Q20: When an if statement is placed within
Q22: This operator takes an operand and reverses
Q23: Input values should always be checked for<br>A)
Q24: Which line in the following program
Q26: You should be careful when using the