PROGRAM :
Code:
#include <iostream.h>
int main()
{
cout << "Hello there.\n";
cout << "Here is 6: " << 6 << "\n";
cout << "The manipulator endl writes a new line to the screen." <<
Âendl;
cout << "And a very very big number:\t" << (double) 7000 * 7000 <<
Âendl;
cout << "Don't forget to replace Baski with your name...\n";
cout << "Baski is a C++ programmer!\n";
return 0;
}
OUTPUT :
Code:
Hello there.
Here is 6: 6
The manipulator endl writes a new line to the screen.
And a very very big number: 4.9e+07
Don't forget to replace Baski with your name...
Baski is a C++ programmer!
Bookmarks