Computers and Technology

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!

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 14:30, qxchung7310
The “rule of 72” is used to approximate the time required for prices to double due to inflation. if the inflation rate is r%, then the rule of 72 estimates that prices will double in 72/r years. for instance, at an inflation rate of 6%, prices double in about 72/6 or 12 years. write a program to test the accuracy of this rule. for each interest rate from 1% to 20%, the program should display the rounded value of 72/r and the actual number of years required for prices to double at an r% inflation rate. (assume prices increase at the end of each year.)
Answers: 1
image
Computers and Technology, 22.06.2019 15:30, alexdub9649
What is a costume plot? why is it important to a film or theater production?
Answers: 2
image
Computers and Technology, 23.06.2019 11:20, 1tzM3
Http is the protocol that governs communications between web servers and web clients (i. e. browsers). part of the protocol includes a status code returned by the server to tell the browser the status of its most recent page request. some of the codes and their meanings are listed below: 200, ok (fulfilled)403, forbidden404, not found500, server errorgiven an int variable status, write a switch statement that prints out the appropriate label from the above list based on status.
Answers: 2
image
Computers and Technology, 24.06.2019 07:30, sunny644
John recently worked on a project about various programming languages. he learned that though procedural language programs are useful, they have disadvantages too. what is a disadvantage of programs written in procedural languages? a. programs do not represent data complexity. b. programs take more time to execute. c. programs are prone to security threats. d. programs do not interface with multiple platforms.
Answers: 3
Do you know the correct answer?
Write a program to calculate students’ average test scores and their grades. you may assume the foll...

Questions in other subjects:

Konu
Geography, 03.07.2019 15:20