LCM And GCD Calculator - Online Code


This is a program to calculate LCM and GCD of given numbers.

Source Code


void main()
  int a[20],n,i,j,c,max,min;
  unsigned long prod;
  printf("Enter the no. of entries: ");
  printf("Enter the entries:&
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.


Vidskie Gabines on 2011-06-05 11:04:46 wrote,

Can i ask what is the meaning of this >>>>>scanf("%d",&n);

because i`m new in C!!