EXERCISE 2 – SELECTION COMMANDS AND LOGICAL OPERATORS
Using the three different selection commands, write a basic program that fulfils the following specification for a college looking to make a programme that interprets inputting marks for a test and gives a grade.
• A single mark is entered by the user
• If the mark is > 80 then echo out the result as a grade A
• If the mark is>= 65 then echo out the result as a grade B
• If the mark is>= 50 AND <=64 then echo out the result as a grade C
• Else the grade is D