hello sir turboc is ssimple and easy to use compare to other c compilers write a program in the blue screen displayed at the time of opening tc save it using f2 option and next compile it using alt+f9; if your program is error free then you can run your program using ctrl+f9
Code: #include<stdio.h> #include<conio.h> #include<math.h> int Gcd(int,int); int main(void) { int a,b,Gcd; clrscr(); printf("Enter the two numbers whose GCD is to be found: "); scanf("%d%d",&a,&b); printf("GCD of %d and %d Using Non-Recursive Function is %d\n",a,b,Gcd(a,b)); getch(); } int Gcd(int p,int q) { int remainder; remainder = p-(p/q*q); if(remainder==0) return q; else Gcd(q,remainder); }