Write statement(s) that reads the information in the record below from stream info to string variables courseName (on the first line) and courseNum and integer variable hours (on the second line).

Intro to CS
COMSC101 4


getline (info, courseName, ā€˜\n’); // ā€˜\n’ can be omitted
info << courseNum << hours;

Computer Science & Information Technology

You might also like to view...

Which of the following is the best example of a fundamental network management tool?

a. SNMP b. ping c. trace route d. Documentation

Computer Science & Information Technology

Define Cisco IOS.

What will be an ideal response?

Computer Science & Information Technology

Like Java, the Windows Phone 7 platform also contains a virtual machine, called the ____________________.

What will be an ideal response?

Computer Science & Information Technology

Designers craft stories and create experiences

Indicate whether the statement is true or false

Computer Science & Information Technology