Computer Science, asked by mahendrakar72, 1 year ago

give the header file that holds SETW( ) and ENDL


mahendrakar72: PLEASE ANYONE GIVE ME ANSWER

Answers

Answered by aanchal1612
42
#include <iostream.h>
#include <string. h>
Answered by SaurabhJacob
1

iomanip holds the setw() and endl methods.

  • It is an output manipulator header file.
  • It has many functions such as, reset flags, set fill, etc.
  • The setw() is used to set the width as spaces at the time of output.
  • endl is used for making the output reach the next line, similar to the escape character "\n".
Similar questions