29/10/2024
My JavaScript class at Harvoxx Tech. HubHarvoxx Tech. Hub with my tutor Mr Aminigbo Paul gave an assignment, below is the question
The sum of a student test and grade it accordingly
T1 = 11/15
T2 = 4/15
Exam = 37/70
Sum the T1, T2 and Exam , if the result is greater than 40, add 10 to it and grade it.
Grade:
0-39 = E
40-60 = C
61-69 = B
70-100 = A
Below is my solution using JavaScript
Open for improvement, thank you