Question: Write a segment of code that if grade is equal to 100 prints A+ on the screen, if grade is equal to 90 prints A
Write a segment of code that if grade is equal to 100 prints A+ on the screen, if grade is equal to 90 prints A on the screen, if A is 80 prints B, if A is 70 prints C and if A is none of the above prints F. a. Do this using a switch statement b. Do this using if statements
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
