#include <iostream>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int x = 5,y = 7;
void myFunction()
{
int y = 10;
cout<<"x from myFunction:"<<x<<"\n";
cout<<"y from myFunction:"<<y<<"\n\n";
}
int main(int argc, char** argv) {
cout<<"x form main:"<<x<<"\n";
cout<<"y form main:"<<y<<"\n\n";
myFunction();
cout<<"Back from myFunction!\n\n";
cout<<"x from main:"<<x<<"\n";
cout<<"y from main:"<<y<<"\n";
return 0;
}