Solved

What Will the Following Segment of Code Output?
Score \quad

Question 15

Multiple Choice

What will the following segment of code output?
score = 40;
if (score > 95)
\quad cout << "Congratulations!\n";
cout << "That's a high score!\n";
cout << "This is a test question!" << endl;


A) This is a test question!
B) Congratulations!
That's a high score!
This is a test question!
C) That's a high score!
This is a test question!
D) Congratulations!
That's a high score!
E) None of these

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions