Question: This is introduction to computing course ( multiple choice question) &What is displayed by the C statements at the right if the value input is
This is introduction to computing course ( multiple choice question) &What is displayed by the C statements at the right if the value input is 3? scanf ("sd", &n); a. Equal if (n 5) Less printf ("Equal "); Greater else if (n 5) no output printf ("Less "); else printf ("Greater n"); 9. What is displayed by the C statements that follow if the value input is 2? scan f (''sd'', &ctl) switch (ctl) case 0: case 1: printf ("red case 2: printf ("blue case 3: printf ("green case 4: printf ("yellow") printf ("In"); a. red blue green d. yellow e. blue green yellow
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
