Guest User

Untitled

a guest
Jan 23rd, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.38 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3.  
  4. int main(){
  5.  
  6. float nota;
  7.  
  8.  
  9.  
  10.  
  11.     printf("Introdueix la nota\n");
  12.     scanf("%f",&nota);
  13.  
  14.     if(nota<5){
  15.  
  16.         printf("Insuficient.\n");
  17.     }
  18.  
  19.     else if(nota>=5 && nota<7){
  20.  
  21.         printf("Suficient\n");
  22.         }
  23.        
  24.         else if(nota>=7 && nota<9){
  25.             printf("Notable\n");
  26.         }
  27.        
  28.             else if(nota>=9){
  29.                 printf("Excel·lent\n");
  30.             }
  31.            
  32.  
  33.  
  34.     return 0;
  35. }
Add Comment
Please, Sign In to add comment