Solve this question with steps please. The subject is programming in c. Use visual studio 2012.

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter8: Advanced Data Handling Concepts
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Solve this question with steps please. The subject is programming in c. Use visual studio 2012.
int marks;
printf("Enter Marks\n");
scanf("%d",&marks);
switch(marks<=100)
case 1:
if (marks>=95)
printf("A+");
else
printf("Invalid");
break;
case 2:
if (marks>=85)
printf("A");
else
printf("Invalid");
break;
default:
printf("Invalid");
Il mcbs.proctoring.online is sh
Transcribed Image Text:int marks; printf("Enter Marks\n"); scanf("%d",&marks); switch(marks<=100) case 1: if (marks>=95) printf("A+"); else printf("Invalid"); break; case 2: if (marks>=85) printf("A"); else printf("Invalid"); break; default: printf("Invalid"); Il mcbs.proctoring.online is sh
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Structured English
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage