- Problem 1 10 Points Assume That There Are 5 Enrolled Students In A Class Each Student S Final Grade Will Be Based On 1 (123.39 KiB) Viewed 68 times
Problem 1(10 points): Assume that there are 5 enrolled students in a class. Each student's final grade will be based on
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Problem 1(10 points): Assume that there are 5 enrolled students in a class. Each student's final grade will be based on
Problem 1(10 points): Assume that there are 5 enrolled students in a class. Each student's final grade will be based on three tests with equal weight. Write a C++ program that first allows you to input the three scores of each student and then outputs all scores including student averages, student variances and test averages, in a well formatted output. You can assume that all test scores will be integers in the range from 0 to 100, but the averages and variances are real numbers. Your program must identify a student with maximum average score. Sample output design Enter the 3 scores for student number #1: 80 85 82 Enter the 3 scores for student number #2: 65 90 98 Enter the 3 scores for student number #3: 57 61 60 Enter the 3 scores for student number #4: 81 50 55 Enter the 3 scores for student number #5: 75 70 70 === Stud # TEST 1 TEST 2 TEST 3 AVERAGE 1 80 85 82 82.33 2 65 90 98 84.33 3 57 61 60 59.33 4 81 50 55 62.00 5 75 70 70 71.67 AVERAGE 71.60 71.20 73.00 Variance 85.44 219.76 241.60 Maximum average score = 84.33 by Student 2