Title: Assignment 9
Course: COP 1510 Programming Concepts > Section: Module 10 - Sorting and Searching Arrays

For your module 10 assignment, you will design and write a program following the specification that is given below. Design your program using a flowchart and pseudocode. Submit your final flowchart and pseudocode design in the dropbox.

Average Calculation Modification

For this program, you will modify the average calculation assignment from Module 9. The program should start the same, asking the user to enter 6 test scores and storing them in the array. The program should sort the array in ascending order and display the current average, dropping the lowest score. The final step is to give the user the opportunity to modify one of the grades to see how it affects the average. Ask the user which score they would like to modify and what value to change it to. Modify the score and then display the new average using the new score.

Example Output:

Enter grade #1
100[Enter]
Enter grade #2
90[Enter]
Enter grade #3
95[Enter]
Enter grade #4
98[Enter]
Enter grade #5
88[Enter]
Enter grade #6
92[Enter]
The low grade of 88 was dropped resulting in an average of 95 Which score would you like to change?
85 [Enter]
I could not find that score, please enter a valid score:
88 [Enter]
What will this score be changed to?
92 [Enter]
The low grade of 90 was dropped resulting in an average of 95.4