subject

Write a program to calculate students’ average test scores and their grades. you may assume the following input data: johnson 85 83 77 91 76 aniston 80 90 95 93 48 cooper 78 81 11 90 73 gupta 92 83 30 69 87 blair 23 45 96 38 59 clark 60 85 45 39 67 kennedy 77 31 52 74 83 bronson 93 94 89 77 97 sunny 79 85 28 93 82 smith 85 72 49 75 63 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 a function to output the results. have your program also output the class average. use the following scale to determine the letter grade: 90%–100%, a; 80%–89.99%, b; 70%–79.99%, c; 60%–69.99%, d; and 0%–59.99%, f . format your output with setprecision(2) to ensure the proper number of decimals for testing!

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 15:20
In a game with three frames, where will the objects on layer 1 appear? a. next to the play area b. in the middle of the game c. behind everything else d. in front of everything else
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
Write a grading program for a class with the following grading policies: a. there are two quizzes, each graded on the basis of 10 points. b. there is one midterm exam and one final exam, each graded on the basis of 100 points. c. the final exam counts for 50% of the grade, the midterm counts for 25%, and the two quizzes together count for a total of 25%. (do not forget to normalize the quiz scores. they should be converted to a percentage before they are averaged in.) any grade of 90 or more is an a, any grade of 80 or more (but less than 90) is a b, any grade of 70 or more (but less than 80) is a c, any grade of 60 or more (but less than 70) is a d, and any grade below 60 is an f. the program will read in the student’s scores and output the student’s record, which consists of two quiz and two exam scores as well as the student’s average numeric score for the entire course and final letter grade. define and use a structure for the student reco
Answers: 2
question
Computers and Technology, 23.06.2019 23:30
What can you prevent issues related to downloading content form the internet
Answers: 1
question
Computers and Technology, 24.06.2019 02:30
Which option completes the explanation for conflict of interest in an organization
Answers: 1
You know the right answer?
Write a program to calculate students’ average test scores and their grades. you may assume the foll...
Questions
question
Mathematics, 25.11.2020 01:00
question
Mathematics, 25.11.2020 01:00
question
Biology, 25.11.2020 01:00
question
English, 25.11.2020 01:00
question
Business, 25.11.2020 01:00
question
History, 25.11.2020 01:00
question
Mathematics, 25.11.2020 01:00
Questions on the website: 13722360