Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started