#include <iomanip>
#include <iostream>
#include <conio.h>
int main()
{
int num = 50, num2=100;
Clrscr();
cout << " width: n" << num << endl;
cout << "hight : n" << num2 << endl;
getch();
return 0;
}
This is the code and I want to know how to use setw() in this code ??
If you answer then it’s much appreciated.
New contributor
Krutarth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.