Question: Exercise 3 - Letter Grade ( IS . E 3 ) ( 2 pts ) Write a program in MIPS that converts a numerical percentage

Exercise 3- Letter Grade (IS.E3)
(2 pts) Write a program in MIPS that converts a numerical percentage to a letter grade. Your program
should print a prompt and read an integer from the console. It should then interpret that integer
as a percentage and print the appropriate letter grade. Here are the letter grades that correspond
to certain percentage ranges:
If the percentage is greater than or equal to 90, the letter grade is "A".
If the percentage is greater than or equal to 80 but less than 90, the letter grade is "B".
If the percentage is greater than or equal to 70 but less than 80, the letter grade is " C ".
If the percentage is greater than or equal to 60 but less than 70, the letter grade is "D".
If the percentage is less than 60, the letter grade is "F".
Your prompt should look like this:
Enter percentage:
Exercise 3 - Letter Grade ( IS . E 3 ) ( 2 pts )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!