Lecture 148
//Procedures and Functions
//Code:
#include <iostream>
#include <conio.h>
using namespace std;
void italy ();
void brazil ();
void argentina (); // Prototype
main ()
{
cout<<"\n
I am in main";
cout<<"\n
I am back in main";
getch();
return 0;
}
void italy ()
{
cout<<"\n
I am in italy ";
cout<<"\n I am back in italy ";
}
void brazil ()
{
cout<<"\n
I am in brazil ";
cout<<"\n
I am back in brazil ";
}
void argentina ()
{
cout<<"\n
I am in argentina ";
cout<<"\n
__________________";
}
Output: