Computer Science

Welcome to a Computational Thinking (CT) Challenge



Abstract an Algorithm
Pseudo-Code

Code in Python

Puzzle
LC Grade Conversion

CAO conversion table from marks to grades

The user wants to enter a mark between 0 and 100.
They want the mark converted to a Leaving Cert grade, as shown in the above table.
They also want to enter Ordinary or Higher Level.
So if the user enters a mark of 73 and Ordinary level, the program must output O3.
Test your code with lots of marks between 0 and 100.



The sandbox below can be used to run the sample Python code or to play around with your own ideas.