Solved

Suppose That X = 1565

Question 39

Multiple Choice
Suppose that x = 1565.683,y = 85.78,and z = 123.982.What is the output of the following statements? 
cout << fixed << showpoint;
Cout << setprecision(3)<< x << ' ';
Cout << setprecision(4)<< y << ' ' << setprecision(2)<< z << endl;
A) 1565.683 85.8000 123.98
B) 1565.680 85.8000 123.98
C) 1565.683 85.7800 123.98
D) 1565.683 85.780 123.980

Suppose that x = 1565.683,y = 85.78,and z = 123.982.What is the output of the following statements?
cout << fixed << showpoint;
Cout << setprecision(3) << x << ' ';
Cout << setprecision(4) << y << ' ' << setprecision(2) << z << endl;


A) 1565.683 85.8000 123.98
B) 1565.680 85.8000 123.98
C) 1565.683 85.7800 123.98
D) 1565.683 85.780 123.980

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents