Setw command used with cout in C++ 2. March 2017 Admin Programming (0) #include<iostream> #include<conio.h> #include<iomanip> using namespace std; void main() { cout<<setw(9)<<"I"<<endl; cout<<setw(17)<<"LOVE"<<endl; cout<<setw(30)<<"PAKISTAN"<<endl; getch(); }