Please do not give solution in image format thanku GPA Calculator computes the grade on the basis of Grade points obtained in the respective subject. Grade points may range from 0.0 to 4.0. Here are the details: A = 4.00 grade points B+ = 3.33 grade points B- = 2.70 grade points C+ = 2.30 grade points C = 2.00 grade points D+ = 1.30 grade points D = 1.00 grade points F = 0 grade points For each course, multiply the grade points with credit hours to get total grade points for that course. Then finally, we divide the total grade points (of all the courses) by total credit hours (of all the courses) to get GPA. Valid values for credit hours are 3 and 4. Write appropriate classes for ECP and BVA. Write test cases to perform ECP and BVA.
Please do not give solution in image format thanku
GPA Calculator computes the grade on the basis of Grade points obtained in the respective subject. Grade points may range from 0.0 to 4.0. Here are the details:
A = 4.00 grade points
B+ = 3.33 grade points
B- = 2.70 grade points
C+ = 2.30 grade points
C = 2.00 grade points
D+ = 1.30 grade points
D = 1.00 grade points
F = 0 grade points
For each course, multiply the grade points with credit hours to get total grade points for that course. Then finally, we divide the total grade points (of all the courses) by total credit hours (of all the courses) to get GPA. Valid values for credit hours are 3 and 4.
Write appropriate classes for ECP and BVA.
Write test cases to perform ECP and BVA.
Step by step
Solved in 8 steps with 1 images