Question: 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

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

Aniston80 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.(40%)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.(60%)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 tooutputallthe 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.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!