subject

2) write a program c++ 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, and a function to output the results. have your program also output the class average.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:20
Consider the following code snippet: #ifndef cashregister_h#define cashregister_hconst double max_balance = 6000000.0; class cashregister{public: cashregister(); cashregister(double new_balance); void set_balance(double new_balance); double get_balance() const; private: double balance[12]; }; double get_monthly_balance(cashregister bk, int month); #endifwhich of the following is correct? a)the header file is correct as given.b)the definition of max_balance should be removed since header files should not contain constants.c)the definition of cashregister should be removed since header files should not contain class definitions.d)the body of the get_monthly_balance function should be added to the header file.
Answers: 1
question
Computers and Technology, 22.06.2019 22:00
What is the name of the option in most presentation applications with which you can modify slide elements? 1. the option enables you to modify a slide element in most presentation applications.
Answers: 3
question
Computers and Technology, 23.06.2019 06:00
Which statistical function in a spreadsheet you to see how far each number varies, on average, from the average value of the list?
Answers: 2
question
Computers and Technology, 24.06.2019 00:30
Afiling system in which an intermediary source of reference, such as a file card, must be consulted to locate specific files is called a(n) system. a. shelf filing b. direct filing c. indirect filing d. shingling
Answers: 1
You know the right answer?
2) write a program c++ to calculate students’ average test scores and their grades. you may assume t...
Questions
question
Geography, 16.07.2019 14:00
question
History, 16.07.2019 14:00