chapter5
This commit is contained in:
11
DeitelC/Chapter5/lcmDemo.c
Normal file
11
DeitelC/Chapter5/lcmDemo.c
Normal file
@ -0,0 +1,11 @@
|
||||
#include <stdio.h>
|
||||
#include "lcm.c"
|
||||
|
||||
int main (void)
|
||||
{
|
||||
int i1, i2 = 0;
|
||||
puts("Enter int1 and int 2");
|
||||
scanf("%d%d", &i1, &i2);
|
||||
printf("%s%d\n", "Lowest common integer: ", lcm(i1, i2));
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user