Welcome to SLIIT IT Students.
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
No comments :
Post a Comment