Question: What you need to do: 1. Write a recursive function computeSum that adds up the sequence of numbers from 1 to N. For example, computeSum(4)

What you need to do: 1. Write a recursive function computeSum that adds up the sequence of numbers from 1 to N. For example, computeSum(4) should return 1+2+3+4 10. Your function signature should look like: o int computeSum(int n) Write a recursive function findMin that finds the minimum (smallest) number in an array of integers. For example, given the array 112, 21, 27,3,11,19 findMin should return 3. Your function signature should look like 2. int findMin(int arr[], int len) Note: len is the length of the array o o
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
