Function: GCD (Giant Chocolate Donut)

--Originally published at Carolina's Blog Site

So today I made a function that asks the user for 2 integers and then displays the Greatest Common Denominator, which is the largest number that divides both of them without leaving a reminder. I realized there’s several ways to do this, but I think this one’s pretty simple. It took me awhile to get it though. I just couldn’t make sense of it! Thank goodness I have fellow programmer friends who can explain theses sorta things to me?