Question: Write a program in Pascal language that allows user to enter a students name and mark obtained in a Maths examination. The program should prompt

Write a program in Pascal language that allows user to enter a students name and mark obtained in a Maths examination. The program should prompt user to enter name and mark, check that mark is in the range 0 <= mark <= 100 otherwise asks for the mark again. The program outputs the students name and grade. Grades are awarded according to the following grade boundaries. 80 < mark <= 100 grade A 60 < mark <= 80 grade B 40 < mark <= 60 grade C mark <= 40 failed

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!