#include stdio.hint main() { int m=5,n=7,lcm; lcm=(mn)?m:n; while(lcm%m!=0 || lcm%n!=0) { lcm++; } printf ("lcm of m and n is %d",lcm); return 0;}
Not registered? Create an account
Forgot Password?
Already a registered user? Login