What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-15 15:04:02
Lcm of 2 numbers in c
// for finding lcm of 2 number . Can use this concept to find lcm of an array of number #include <stdio.h> int main() { int n1, n2, max; printf("Enter two positive integers: "); scanf("%d %d", &n1, &n2); ... Add solution