Write a recursive function sumOfDigits() that computes and returns the sum of the digits of an integer number thatโs been passed to the function. Your function should not use any loops!
Write a recursive function fib() that takes an integer argument n and returns the nth Fibonacci number. Your function should not use any loops! Recall that the first and second Fibonacci numbers are 0 and 1, whereas each subsequent Fibonacci number is the sum of the two previous ones. For example, here are the first 10 Fibonacci numbers: