Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(){
- float nota;
- printf("Introdueix la nota\n");
- scanf("%f",¬a);
- if(nota<5){
- printf("Insuficient.\n");
- }
- else if(nota>=5 && nota<7){
- printf("Suficient\n");
- }
- else if(nota>=7 && nota<9){
- printf("Notable\n");
- }
- else if(nota>=9){
- printf("Excel·lent\n");
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment