Question: Hello, can you please help me write the following program in C++: Write a program using arrays that will accepts a students record from keyboard
Hello, can you please help me write the following program in C++:
Write a program using arrays that will accepts a students record from keyboard and displays it on the screen. The input will be students name, test1, test2, quiz, lab, and final. The program will compute total score and display it. The total score will be calculated using following weights:
test1 and test2 each 20%
lab & quiz each 15%
final 30%
Compute letter grade of total score based of the following;
Total >=90 A
80 <=Total<90 B
70<=Total<80 C
60<=Total<70 D
Total <60 F
Run your program for the following input:
Name Test1 test2 lab quiz final total grade
Norman M. Richard 88 90 89 97 93 xx xx
Alfred G. Pena 67 63 61 67 60
Hema A. Garcia 77 71 79 68 70
Omar T. Garza 83 80 81 89 85
Nancy M. Zamora 55 56 57 60 63
The output has to look like this:
Student name Test 1 Test 2 Lab Quiz Final Total
----------------------- ----------- ----------- ------- ----------- ------ -------------
Norma M. Richard 88.00 90.00 89.00 97.00 93.00 91.40
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
