Computer Science, asked by 270046, 4 days ago

wap to enter two nos and print their hcf without using slash and modules in java​

Answers

Answered by ntkkilari
0

Answer:

Let there be two arbitrary numbers such as 75 and 90.

75 = 3 * 5 * 5

90 = 2 * 3 * 3 * 5

Common Divisor = 3 * 5 = 15

Here, the HCF of the three given numbers would be 15 since it divides every given number without leaving a fraction behind.

Similar questions