Question: Write a c + + program to: Create an array of 5 integers in main. Have the user enter the 5 integers in main. Write

Write a c ++program to:
Create an array of 5 integers in main.
Have the user enter the 5 integers in main.
Write a function to find the min element and display the value to main in main.
Write a function to find the average of the elements and display the value in main.
Write a function to display the elements of the array.
You can start the project by writing the all of the code in main and then cutting and pasting the functions if you want to start over the weekend. We will use a better approach to organize the program in class Monday and you will have time to work on the project in lab.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!