Question: Answer the following questions in the provided lab solution report document and upload to Slate 1. Write an enhanced menu driven letter grades calculation program
Answer the following questions in the provided lab solution report document and upload to Slate 1. Write an enhanced menu driven letter grades calculation program that will input a student grade (integer in the range 0 to 100) from the user and prints out the letter grade of that student using CONDITIONAL OPERATOR (expl ? exp2 exp3). The program loops until a grade of -1 (called sentinel value) is input to indicate that all grades are processed. Paste your code into the solution part of the lab solution template and add a screenshot of the output to the second part (screenshots), 2. What is the output of the following code fragments. Discuss the reason behind each a int a 10, b- 20, c-30; if (c> b> a) printf"TRUE else printf FALSE int febDays, year-2020 febDays year %4 ? 29 28 printf("Days in February: %d", febDays); b. 3. By adding parenthesis to clarify the sequence of calculation, write easily-comprehensible equivalent expressions to the following ones a 122-B &&4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
