(2) Write a C++ program to find the greatest common divisor of two numbers.
Define a method find to accept the values and calculate GCD of two numbers and
print the GCD value.
(March 2002)
Attachments:
Answers
Answered by
16
Answer:
In above program, smaller number is subtracted from larger number and that number is stored in place of larger number.
This process is continued until, two numbers become equal which will be HCF.
Explanation:
plz mark me as a brainliest
plz brother do that
Attachments:
Similar questions