Reference no: EM132432100
Program Description:
Write a program to sort the student's names (ascending order), calculate students' average test scores and letter grades (Use the 10 point grading scale). In addition, count the number of students receiving a particular letter grade. You may assume the following input file data:
Johnson 85 83 77 91 76
Aniston 80 90 95 93 48
Cooper 78 81 11 90 48
Gupta 92 83 30 69 87
Muhammed 23 45 96 38 59
Clark 60 85 45 39 67
Patel 77 31 52 74 83
Abara 93 94 89 77 97
Abebe 79 85 28 93 82
Abioye 85 72 49 75 63
1. Use four arrays: a one-dimensional array to store the students' names, a (parallel) two dimensional array to store the test scores, a one-dimensional array to store the student's average test scores and a one-dimensional array to store the student's letter grades.
2. Your program must contain at least the following functions :
a. A function to read and store data into two arrays,
b. A function to calculate the average test score and letter grade,
c. A function to sort all the arrays by student name, and
d. A function to output all the results (i.e. sorted list of students and their corresponding grades)
e. Have your program also output the count of the number of students receiving a particular letter grade.
NOTE : No non-constant global variables are to be used. You can name the arrays and functions anything you like. You can use the operator >= to sort the strings.