
Al P. answered 12/31/17
Tutor
0
(0)
Online Mathematics tutor
crunch(6) will return 6+crunch(60) = 6+60+crunch(600) = 6+60+6 = 72
crunch(-25) will endlessly cycle as "x+crunch(10*x)" is repeatedly called and will likely crash whatever system it is running on once the stack is exhausted. As a precondition, this function should reject inputs that are less than or equal to zero.