Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started