write an algorithm to find H.C.F of 18 and 24. draw the corresponding flow chart
Answers
Answered by
1
Explanation:
The above flowchart is drawn in the Raptor tool. The flowchart represents the flow for finding Greatest Common Divisor
Example: GCD of two numbers 12 & 24 is 12
The code for calculating the LCM and GCD is given in the below link.
Finding GCD and LCM of Given Numbers using C
Similar questions