Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please write in C++ 1. Write a C++ program that does the following. a. In the main, declare an array of size 15 of a
Please write in C++
1. Write a C++ program that does the following. a. In the main, declare an array of size 15 of a type "integer". (10 points) b. Write a function that allows user to enter values into the declared array (Step a). (15 points) c. Write a function to that calculates the mean (the average) of the declared array (Step a) and returns the mean to the main to be displayed on the console. (20 points) i. Use forward declaration for this function. (5 points) d. Write a function that finds the lowest value of the declared array (Step a) and returns the lowest value found to main to be displayed on the console ( 20 points) i. Use forward declaration for this function. (5 points) e. Write a function that finds the highest value of the declared array (Step a) and returns the highest value found to main to be displayed on the console ( 20 points) i. Use forward declaration for this function. (5 points) 2. The program runs as expected without any issues. ( 25 points)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started