LCM And GCD Calculator - Online Code

Description

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

Source Code

#include<stdio.h>

void main()
{
  int a[20],n,i,j,c,max,min;
  unsigned long prod;
  clrscr();
  printf("Enter the no. of entries: ");
  scanf("%d",&n);
  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.




Comments

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!!