Content deleted Content added
Quuxplusone (talk | contribs) m ←Undid revision 109745705 by 192.146.101.24 (talk) |
|||
Line 40:
'''end'''
Another comparison that even more clearly demonstrates the relative "elegance" of recursive functions is the [[Euclidean Algorithm]], used to compute the [[greatest common factor]] of two integers. Below is the algorithm with recursion, coded in [[C
int GCF(int x, int y)
|