Question: (b) Construct a C program to pass an argument in a function and how to call a function. (CL04-PLO [5 marks] (c) Construct the nested

(b) Construct a C program to pass an argument in a function and how to call a function. (CL04-PLO [5 marks] (c) Construct the nested if/else statement below into a switch case statement. if (letter_grade == 'A') printf ("Excellent!"); else if (letter_grade 'B') printf ("Very good!"); else if (letter_grade == 'C') printf ("Good"); else if (letter_grade == 'D') printf ("Adequate"); else printf ("Fail"); GLG
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
