Write an Assembly program that will return a letter grade given a Decimal int from the user.
Fantastic news! We've Found the answer you've been seeking!
Question:
Write an Assembly program that will return a letter grade given a Decimal int from the user. Include the following:
- a user menu
- a main label, a looping label, and an exit label
- a way for the user to continue getting letter grades or choose to exit
- invalid input handling (do NOT just print an error message and exit the program; re-prompt the user until a correct input is entered)
Notes for Task 1:
- Grades typically fall on a range from 0 to 100. Scores above 100 are still considered valid in cases of extra credit, but scores below 0 are considered invalid since 0 is the lowest possible value of a grade. A strong program will take this into consideration when handling input errors
- The following bullets show the numeric value of scores and their corresponding letter grade:
- A: 100 - 90
- B: 89 - 80
- C: 79 - 70
- D: 69 - 60
- F: 59 - 0
Related Book For
Java An Introduction To Problem Solving And Programming
ISBN: 9780134462035
8th Edition
Authors: Walter Savitch
Posted Date: