Suppose a and b are int variables, c is a double variable, where a = 13, b = 5, and c = 17.5. What is the output of each of the following statements? (show your steps for the calculation).
cout << fixed << setw (10) << setfill (‘&’) << c << endl;
1
Expert's answer
2012-08-10T11:16:18-0400
Task isn't clear cause functions 'setw', 'setfill' and identifier 'fixed' are not stated.
Comments
Leave a comment