Question: 12.) (5) Code a switch statement that will test a char of a code and will print the following: If code is a 'A'

12.) (5) Code a switch statement that will test a char of

 

12.) (5) Code a switch statement that will test a char of a code and will print the following: If code is a 'A' print "Excellent". If code is a 'B' print "Very Good". If code is a 'C' print "Satisfactory". If code is anything else print "Failing".

Step by Step Solution

3.51 Rating (148 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Assignment Title Code the switch case statement include stdio h int main ... View full answer

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!