# recurse.rb def recurse(a, b) if a == b puts "Ending recursing." a else printf "Recursing with a=%d and b=%d\n", a, b+1 recurse(a, b+1) end end a = gets.to_i b = gets.to_i if a <= b raise "Stupid you. Trix are for kids." end puts "End Product is: ", recurse (a, b)