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...

The tail of a list

A) is an instance of a class that implements the ListTail interface B) is what you get when take a list and remove its head C) is a synchronized subclass of the LinkedList class D) None of the above

Computer Science & Information Technology

The Target attribute of a hotspot specifies the Web page or file that opens when the hotspot is clicked.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Site pages that are no longer needed can be deleted from a SharePoint site

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following is the process of transferring data in a continuous and even flow, which allows users to access and use a file while it is transmitting?

A. casting B. streaming C. surfing D. flowing

Computer Science & Information Technology