Question: Create a program which completes the following steps: Asks the user to input the grade they received in a class ( 0 - 1 0

Create a program which completes the following steps: Asks the user to input the grade they received in a class (0-100). Use the variable grade for the input. If the users grade is 90-100 output You received an A in the class!! If the users grade is 80-89 display Not bad, you received a B in the class!" If the users grade is 70-79 print You received a C. Youre cutting it close. If the grade is less than 70 print You have to retake the class." In addition to printing this out: If the grade is between 60-69 print You were only <70-grade> points from passing the class with a 70. Next time should be a piece of cake. If the grade is below 60, print You have some additional work to do. You need to work with the STEM center to receive additional assistance. If the grade does not fall within this range (0-100) you should print "You typed an invalid value."

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!