22a. Memorization Quiz 1
fib and num-digits
- The
fibfunction makes Fibonacci numbers starting withfib(0)=1. Write it. - The
num-digitsfunction takes in a positive integer and returns the number of digits. For example,(num-digits 5031)gives 4. Write this function. Edit to remove any unnecessary code.