Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Visit Under Reference tab on the left side, There are 5 libraries on the list: C

ID: 3853960 • Letter: V

Question

Visit Under Reference tab on the left side, There are 5 libraries on the list: C library, Containers, Input/output, Multi-threading and Other. Spend a few minutes browsing through the header files. To answer this question, look for three of the header files: iomanip, cmath and string. Then provide a brief description of each of them. b. Click on the iomanip header file. List three of parametric manipulators that you learned to format the output c. What is the signature of the setprecision function? d. What is the signature of the setw function?

Explanation / Answer

parametric manipulators that we used are:

setf

endl sends a newline character

setw manipulator will helps insets the width of the filed assigned for the output

setprecision manipulator sets the total number of digits that can be displayed,floating point numbers are printed.

Manipulator endl setw setprecision

setf

endl sends a newline character

setw manipulator will helps insets the width of the filed assigned for the output

setprecision manipulator sets the total number of digits that can be displayed,floating point numbers are printed.

  signature of setprecision function  
  setprecision([number_of_digits]);  
  signature of setw function  setw([number_of_characters]);      setfill([character]);