Write a c program to find HCF and LCM for three numbers

#include<stdio.h>

#include<conio.h>

void main()

{

int a,b,c,H,L;

printf(“Enter three integer : “);

scanf(“%d %d %d”,&a,&b,&c);

if(a<b)
{

for(H=(a=1;H–)
{

if(a%H==0 && c%H==0)

break;
}

printf(“HCF is:%d”,H);

}

if(b<a)
{

for(H=(b=1;H–)
{

if(b%H==0 && c%H==0)

break;
}

printf(“HCF is:%d”,H);
}
{
for(L=1;L<=abc;L++)

if(L%a==0 && L%b==0 && L%c==0)

break;
printf(“\nLCM is: %d”,L);
}
}

Generation of Programming Languages

Programming languages have been developed over the year in a phased manner. Each phase of developed has made the programming language more user-friendly, easier to use and more powerful. Each phase of improved made in the development of the programming languages can be referred to as a generation. The programming language in terms of their performance reliability and robustness can be grouped into five different generations,

1. First generation languages (1GL)
2. Second generation languages (2GL)
3. Third generation languages (3GL)
4. Fourth generation languages (4GL)
5. Fifth generation languages (5GL)

Examples of programming languages.