Question: Ackermann function: on Dr.Racket This function takes two parameters, m and n, and will calculate according to its definition. Your implementation of the function should
Ackermann function: on Dr.Racket
This function takes two parameters, m and n, and will calculate according to its definition.
Your implementation of the function should check whether the inputs are correct or not (for instance, n is a negative number or m is floating-point number). You need to output some error message if any input is not correct. Otherwise output ackermann(m, n). (do not try to test your function with "big" m or n).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
