1. Engineering
  2. Computer Science
  3. nb the code should be in cin a physics class...

Question: nb the code should be in cin a physics class...

Question details

N.b. The code should be in c++

In a physics class there are ten students and each the students has taken 5 tests.The total mark awarded for each test is hundred points.

i)With the aid of c++ programming language determine the grade each student got and also the class average

 

ii)What is the average test score?Determine it.

 

ii)Find the grade using the guide given below.

 

N.b kindly add up the following data in the code

(Test scores and students name.)

 

     Guide for finding the grade

Considering the average is >=90  then print grade=A

 

Considering the average is >=80  &&<90 then print grade=B

 

Considering the average is >=70  && average <80 then print  grade=C

 

Considering the average is >=60   

&& average <70 then print  grade=D

 

Otherwise print grade=F

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution