Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #107.70K
~649 People Reached
Favorite Forums
Favorite Tags
c x 1

1 Posted Topic

Member Avatar for srikanth112

#include<stdio.h> #include<conio.h> void main() { int class, nos_fail, grace; printf("Enter class obtained by student and number of subjects he failed in "); scanf("%d%d",&class,&nos_fail); switch(class) { case 1: switch(nos_fail) { case 1: case 2: case 3: grace=5; break; default: grace=0; break; } break; case 2: switch(nos_fail) { case 1: case 2: …

Member Avatar for Ali_52
0
649

The End.