Write a program to input any two numbers and print the HCF and LCM.
please write step wise in java.
Answers
Answered by
1
we can't write java in brainly
Answered by
0
Answer:
this is your ans
Explanation:
GCD (Greatest Common Divisor) or HCF (Highest Common Factor) of two numbers is the largest number that divides both of them.
Attachments:
Similar questions