Question: i need the code in c programming language asap??? 6.14 LAB: Switch Statements Objectives: Construct a switch statement using the break statement and a default

 i need the code in c programming language asap??? 6.14 LAB:

i need the code in c programming language asap???

6.14 LAB: Switch Statements Objectives: Construct a switch statement using the break statement and a default value Exercise critical thinking skills in using the switch statement to solve a problem. This lab will require you to develop a switch statement that will return the numerical grade for an integer value based on the following grade scale: 100 - 90 = 'A', 89 - 80 = 'B', 79-70 = 'C', 69-60 = 'D' and anything below a 60 is an 'F'. Recall that division of integers results in an integer value when used in an expression 100 / 10 = 10 and 95/10 = 9 and 63/10 = 6 The program will prompt the user for a numerical grade value between 0 and 100. You must construct a switch statement that will set the grade variable = to the character that correlates to the grade of the score using the scale above. A program shell has been provided. You should make use of the break statement. NOTE An A will result for both a 10 and a 9 value. LAB ACTIVITY 6.14.1: LAB: Switch Statements 0 / 45 main.c Load default template 1 Sinclude 2 3 int main(void) { Ent numGradeIn = 0; 5 int numGrade - : a Type here to search

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!