```
#include
#include
int gcd (int , int );
void main ()
{
int m, n;
cout<<" Enter first integer:";
cin >>m>>endl;
cout<<" Enter second integer:";
cin >>n>>endl;
cout<<m<<"&"<<n<<" The GCD is:"<<gcd(m,n)<<endl;
}
int gcd (int x, int y)
{
if(y==0)
return x;
else
return gcd(y,x%y);
}
```