Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- int med;
- printf("Entre com a media do aluno : \n"); scanf("%d",&med);
- if ((med>=0)&&(med<5)) printf("CONCEITO D!\n");
- else if ((med>=5)&&(med<8)) printf("CONCEITO C!\n");
- else if ((med>=7)&&(med<9)) printf("CONCEITO B!\n");
- else printf("CONCEITO A!\n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment