//Using the Euclidian Algorithm //Original program by John Hubbard from Schaum's Outline //Programming in C++ #include void main() { int m,n,r; cout<<"enter two positive numbers: "<>m>>n; if(m=n {//note the loop only goes into effect if m0)//the loop continues as long as n>0, then it stops. { r=m%n;//r assumes the value of the modulus(remainder) of m //divided my n. m=n;//next we swap the values of m and n. n=r;//we turn n into the value of the remainder }//this process keeps looping through as long as n>0. cout<