Man i am doing the program that find the gcd.
You gotta use a recursive function it returns 
integer with two integer arguments n and m.
formula GCD: gcd(m,n%m)
This is my first time using a recursive function so I am having a little trouble understanding it. 
If you can help thanx
#include 
using namespace std;
int thegcd (int m, int n);
{
   int retrunVal;
   gcd=(m,n%m)
      returnVal = gcd;
}
void main()
{
   int num1, num2;
     cout << "Enter two numbers"
     cin >> num1 >> num2;
   if (num1 <= 0) || (num2 <= 0)
   gcd = num2
   cout << "The gcd of " << num1 
       << " and " << num2 << " is "
       << thegcd << endl;
   getch()
}