Question: 1.Write a recursive function that uses an array parameter to accept integers and returns the average of the integers stored in the array. Assume that
1.Write a recursive function that uses an array parameter to accept integers and returns
the average of the integers stored in the array. Assume that the size of the array be n.
2.Write a recursive function that gets an integer as a parameter and returns the pattern as
shown below. For example, if user passes an input integer 3 to the function, it should
output
*
**
***
***
**
*
C++ Programming
1.Write a recursive function that uses an array parameter to accept integers and returns
the average of the integers stored in the array. Assume that the size of the array be n.
2. Write a recursive function that gets an integer as a parameter and returns the pattern as
shown below. For example, if user passes an input integer 3 to the function, it should
output
*
**
***
***
**
*
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
