Write a program to calculate students’ average test scores and their grades. You may assume the following input data:
Tau 85 83 77 91 76
Thabo 80 90 95 93 48
Gupta 78 81 11 90 73
Jabu 92 83 30 69 87
Baloyi 23 45 96 38 59
Njomane 60 85 45 39 67
Menzi 77 31 52 74 83
Chisedzi 93 94 89 77 97
Masilela 79 85 28 93 82
Sibanda 85 72 49 75 63
Use two-dimensional array to store the test scores, and a parallel one-dimensional array to store grades. Your program must contain at least the following functions: a function to read and store data into arrays, a function to calculate the average test score and grade, and a function to output the results. Have your program also output the class average
Please fix the following input errors: