LCM




SORRY THIS IS TEMPORARILY NOT AVAILABLE 

#include<stdio.h>
#include<conio.h>
void main()
{
    int a,b,c=1;
    printf("enter numbers = ");
    scanf("%d%d",&a,&b);
    while (c>0)
    {
        c=a%b;
        a=b;
        b=c;
    }
    {
        printf("hcf = %d",a);
    }
    getch();
}

Comments