Computer Science, asked by kevinspatel, 4 months ago

What will be the output of following code?"
#include<stdio.h>
#include<conio.h>
void main()
{
char grade ='B';
switch(grade)
{
case 'A':
printf("Excellent\n");
break;
case 'B':
case 'C':
printf("Well Done\n");
break;
case 'D':
printf("you passed\n");
break;
case 'F':
printf("Try again\n");
break;
default:
printf("Invalid grade ");
3
printf("Your garde is %c", grade);
getch();
}​

Answers

Answered by zaid0012
0

Answer:

hsvsissiebriz svsos ebirebeveh838e

Answered by itsesarthak
0

Answer:

you should use scanf function in this

Similar questions