This C program to check Lowest Factor Number of Two Number. It is also Called LCM. This Number has use Integers Numbers.
C programming code
#include<conio.h>
#include<stdio.h>
void main()
{
int f, n, s, i, a=1;
clrscr();
printf("\n enter the first no. ");
scanf("%d",&f);
printf("\n enter the second no. ");
scanf("%d",&s);
for( i = 2 ; i < f || i < s ; i++ )
{
if( f % i == 0 && s % i == 0 )
a=i;
}
n=( s * f ) / a;
printf("\n %d LCM of %d and %d",n,f,s);
getch();
}
Output:-

C programming code
#include<conio.h>
#include<stdio.h>
void main()
{
int f, n, s, i, a=1;
clrscr();
printf("\n enter the first no. ");
scanf("%d",&f);
printf("\n enter the second no. ");
scanf("%d",&s);
for( i = 2 ; i < f || i < s ; i++ )
{
if( f % i == 0 && s % i == 0 )
a=i;
}
n=( s * f ) / a;
printf("\n %d LCM of %d and %d",n,f,s);
getch();
}
Output:-
