Practice Exercise
Question
Input marks (using prompt) of 3 subjects of 3 Students (By using Loop) Physics, Chemistry, Mathematics, Result their percentage and Grade according to the Following Data.
Percentage >= 90% : Grade A
Percentage >= 80% : Grade B
Percentage >= 70% : Grade C
Percentage >= 60% : Grade D
Percentage >= 40% : Grade E
Percentage < 40% : Grade F
Hint
Make a Loop (For loop or While Loop) and take 3 Inputs using Prompt as their marks.
Then, calculate percentage of the 3 subjects from the total of 100 marks.
and use if.. Else condition to output the Grades.