Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Using Cout.cbp>
- int main()
- {
- std::cout << "Hello there. \n";
- std::cout << "Here is 5: " << 5 << "\n";
- std::cout << "The manipulator std::end1 ";
- std::cout << "writes a new line to the screen.";
- std::cout << std::end1;
- std::cout << "Here is a very big number:\t" << 70000;
- std::cout << std::end1;
- std::cout << 8+5 << std::end1;
- std::cout << "Here's a fraction:\t\t";
- std::cout << (float) 5/8 << std::end1;
- std::cout << "And a very very big number :\t";
- std::cout << (double) 7000 * 7000 << std::end1;
- std::cout << "Don't forget to replace Jesse Liberty" ;
- std::cout << "with your name...\n";
- std::cout << "Andrew is a C++ programmer!\n";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement