Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.66 KB | None | 0 0
  1. #include <Using Cout.cbp>
  2. int main()
  3. {
  4. std::cout << "Hello there. \n";
  5. std::cout << "Here is 5: " << 5 << "\n";
  6. std::cout << "The manipulator std::end1 ";
  7. std::cout << "writes a new line to the screen.";
  8. std::cout << std::end1;
  9. std::cout << "Here is a very big number:\t" << 70000;
  10. std::cout << std::end1;
  11. std::cout << 8+5 << std::end1;
  12. std::cout << "Here's a fraction:\t\t";
  13. std::cout << (float) 5/8 << std::end1;
  14. std::cout << "And a very very big number :\t";
  15. std::cout << (double) 7000 * 7000 << std::end1;
  16. std::cout << "Don't forget to replace Jesse Liberty" ;
  17. std::cout << "with your name...\n";
  18. std::cout << "Andrew is a C++ programmer!\n";
  19. return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement