1. assume that the following variables are defined: int age; double pay; char section; write a single cin…

1. assume that the following variables are defined: int age; double pay; char section; write a single cin statement that will read input into each of these variables. 2. assume a string object has been defined.

1. assume that the following variables are defined: int age; double pay; char section; write a single cin statement that will read input into each of these variables. 2. assume a string object has been defined.

Answer

Explanation:

Step1: Use cin for multiple inputs

In C++, the cin object is used for input. To read into multiple variables, we separate them with >>. cin >> age >> pay >> section;

Answer:

cin >> age >> pay >> section;