+ 1
Write c++ program to calculate greatest common divisor GCD of any two number
loop
3 Answers
+ 2
I don't understand code
+ 1
I've commented out the conditional ternary operator and rewritten it using if/else statement...
Hope that helps...Lemme know if you still need assistance...
0
Hi...
Here's an example using recursion and C++...
https://code.sololearn.com/cyIux72t6PYX/?ref=app
Happy coding!!!