The number of input data extorted by cin and depends on the

The number of input data extorted by cin and >> depends on the number of variables appearing in the cin statement. True False Suppose that x = 1565.683, y = 85.78, and z = 123.982. What is the output of the following statements? cout

Solution

Question 2:

Answer: false. cin does depends on the number of variables to read the input. But also, cin can be put inside a while loop and the same variable can be used to read data multiple times from the console.

Question 3:

Answer : d , setprecision will decide the number of decimal places for each variable appearing after the command.

 The number of input data extorted by cin and >> depends on the number of variables appearing in the cin statement. True False Suppose that x = 1565.683,

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site