Computer Science, asked by UTKARSH6074, 5 months ago

hcf of 2 and 3 in java without using loop​

Answers

Answered by abhi494494
3

Explanation:

Answer is 2 and 3 odd numbers divided is his self

thanks dear friend

Answered by amandeepkaur7939
0

Answer:

HCF of two numbers is the greatest number which can divide both the numbers. If the smaller of the two numbers can divide the larger number then the HCF is the smaller number. Else starting from (smaller / 2) to 1 check whether the current element divides both the numbers . If yes, then it is the required HCF.

Explanation:

I hope its help to you please drop thanks and brainlist answer

Similar questions