Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions