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.
b. You passed the test.
Computer Science & Information Technology
You might also like to view...
________ column(s) of sample data are needed to create a pie chart
A) One B) Two C) Three D) Four
Computer Science & Information Technology
In Access, where would security alerts be displayed?
A) Message bar B) Alert bar C) Security bar D) Status bar
Computer Science & Information Technology