Wednesday, March 5, 2014

C++ ( setw ) How to leave a space between two words.

#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
cout<<"SriLanka"<<setw(25)<<"Australia"<<endl;
return 0;
}

No comments :

Post a Comment