#include <iostream.h>
vodi myFunction();
int a=1,b=2;
main()
{
cout<<" Function main:a="<<a<<"\n";
cout<<" Function main:b="<<b<<"\n";
cout<<" Function main:a+b="<<a+b<<"\n";
myFunction();
}
void myFunction()
{
int c=3;
cout<<" Function myFunction:a="<<a<<"\n";
cout<<" Function myFunction:b="<<b<<"\n";
cout<<" Function myFunction:c="<<c<<"\n";
cout<<" Function myFunction:a+b-c="<<a+b-c<<"\n";
}
Helenr
森林海