Grade Calculator
Write a program that determines a student’s overall grade. Ask the student to enter marks in 3 subjects, English, Maths, and Science. For each subject, the score will be between 0 and 100. It then calculates the student’s grade based on the following rules:
- If the average score is 90 or above, the grade is A
- If the average score is 80 or more and less than 90, the grade is B
- If the average score is 70 or more and less than 80, the grade is C
- If the average score is 60 or more and less than 70, the grade is D
- If the average score is below 60, the grade is F
Example Output
Welcome to Grade Calculator!
Enter the marks marks in English between 0 and 100: 100
Enter the marks marks in Maths between 0 and 100: 90
Enter the marks marks in Science between 0 and 100: 80
Your average score is 90% and your grade is A.