Question: Write a program to calculate students' average test scores and their grades. You may assume the following input data: Use three arrays: a one-dimensional array
Write a program to calculate students' average test scores and their grades. You may assume the following input data: Use three arrays: a one-dimensional array to store the students' names, a (parallel) 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 two 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. Write a program to calculate students' average test scores and their grades. You may assume the following input data: Use three arrays: a one-dimensional array to store the students' names, a (parallel) 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 two 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
