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
1 Posted Topic
#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: …
The End.
Ali_52