To gain experience writing programs which use if, elif and else.
For this lab, you'll be creating a program that converts number grades to letter grades. For instance, if the input to the program is 88.5, the program should output B+.
According to the syllabus for this class, this is the grade breakdown:
This is written using mathematical "range notation". A "[" means that is the staring point for a range and it includes that value. A ")" means that is the ending point for a range but it does not include that value itself.
For example, to get a B+, you need an 87 or higher, up to a 90, but not including a 90 (which is an A-). So even a 89.999 would count as a B+.
When you are finished, please submit the .py file for the lab on Canvas. To do so, you'll need to navigate to where you saved the file on your computer.
Copyright © 2024 Ian Finlayson | Licensed under a Creative Commons BY-NC-SA 4.0 License.