Sinux1

T6E1

Mar 15th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.62 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4.  
  5. void mountainview()
  6. {
  7.     cout << "mountainview - it is where google is located" << endl << endl;
  8.  
  9.     cout << "mountainview - it is the end of this func " << endl << endl;
  10.  
  11.  
  12.  
  13. }
  14.  
  15. void cupertino()
  16. {
  17.  
  18.     cout << "cupertino - is where apple is!" << endl << endl;
  19.  
  20.     mountainview();
  21.  
  22.     cout << "cupertino - this is the end of cupertino func!" << endl << endl;
  23.  
  24.  
  25.  
  26. }
  27. int main()
  28. {
  29.     cout << "main - we are beginning the main function" << endl << endl;
  30.  
  31.     cupertino();
  32.  
  33.     cout << "main - ending the main function" << endl << endl;
  34.  
  35.  
  36.  
  37.     return 0;
  38. }
Add Comment
Please, Sign In to add comment