0

Create a c++ program that accepts 3 input percentage score to calculate whether it's pass or failed

Average= sum of 3 inputted score then divided by 3 If average score=0.0-59.9 - grade will be 5.00 - remarks (Failed) If average score=60.0-64.4 - grade will be 3.00 - remarks (Passing grade) If average score=64.5-68.9 - grade will be 2.75 If average score=69.0-73.5 - grade will be 2.50 If average score=73.5-77.9 - grade will be 2.25 If average score=78.0-82.4 - grade will be 2.00 If average score=82.5-86.9 - grade will be 1.75 If average score=87.0-91.4 - grade will be 1.50 If average score=91.5-95.9 - grade will be 1.25 If average score=96.0-100 - grade will be 1.00 Test data: Input first grade: 90.3 Input second grade: 90.6 Input third grade: 90.8 Average score=90.6 Grade=1.50 Remarks=Passed

1st Apr 2022, 5:52 AM
Sin
1 Antwort
0
Where is your solution?
1st Apr 2022, 5:55 AM
A͢J
A͢J - avatar