Answered You can hire a professional tutor to get the answer.

QUESTION

The program should do the following: - declare an array that will hold 50 integers. - read in a value named SIZE that will be the actual number of...

The program should do the following: - declare an array that will hold 50 integers. - read in a value named SIZE that will be the actual number of items to consider. - verify that SIZE is positive, but less than or equal to 50. - input the array values (for example, if SIZE =10, input 10 values). - call a function to calculate and return the sum of the values. - in the main program, calculate the average and then display the sum and the average. - call a function to determine and return the maximum value of the array. - in the main program, display the maximum value. - in an output file named "your last name", display the array values, the sum, average and maximum. - repeat the program for another set of date, until the user requests a stop. The output file should contain messages that make the printout of the file very readable and clear. The value of average should contain one decimal place. The final line displayed in the output file should be a reference to your name. As always, use the general instructions for naming the .cpp file and required comments. A hard copy of the .cpp file should be turned in at start of class April 30. Please ask questions in class if the assignment is not clear. in c++ code

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question