The 3rd, 4th, and 5th arrays will contain the grade data. The GPA will be stored in the 6th parallel array. GPA is to have two decimal places. All other numbers are to have no decimals. The first two menu items will call functions.
All inputs are to be protected from outlandish inputs.
Do not protect grades from inputting letters. Use all functions and arrays as specified above. Word processing programs often have features which can change capital letters to lower case and count the words in a document. This program will demonstrate how some of these features could be programmed using 3 and only 3 functions. An input function which accepts a line of text up to 80 characters long.