Question: 1) Write a program that reads a letter grade and displays Excellent if the letter is an A, Good if it is a B, You

1) Write a program that reads a letter grade and displays Excellent if the letter is an A, Good if it is a B, You can do better! if its a C, Im afraid thats not good if its a D or F, and Input Error! in any other case. Implement a solution using only IF statements.

2) Rewrite your solution to Exercise 1 using a SWITCH statement this time

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 Databases Questions!