joeljsv / hacktober2021

Register for Hacktoberfest and make four pull requests (PRs) between October 1st-31st to grab free SWAGS
https://hacktoberfest.digitalocean.com/
7 stars 114 forks source link

GCD Using Recursion in C++ #107

Closed nischalanand closed 3 years ago

nischalanand commented 3 years ago

This program takes two positive integers from user and calculates GCD using recursion.

*GCD or HCF means highest common factor between numbers.

*Recursion means calling the function itself directly.

--------------------- OUTPUT ------------------------ GCD Output