Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- void mountainview()
- {
- cout << "mountainview - it is where google is located" << endl << endl;
- cout << "mountainview - it is the end of this func " << endl << endl;
- }
- void cupertino()
- {
- cout << "cupertino - is where apple is!" << endl << endl;
- mountainview();
- cout << "cupertino - this is the end of cupertino func!" << endl << endl;
- }
- int main()
- {
- cout << "main - we are beginning the main function" << endl << endl;
- cupertino();
- cout << "main - ending the main function" << endl << endl;
- return 0;
- }
Add Comment
Please, Sign In to add comment