#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
int voto;
printf("Inserisci voto:");
scanf("%d",&voto);
if(voto<5){
printf("Gravemente insufficiente");
}
else if(voto==5){
printf("Insufficiente");
}
else if(voto==6){
printf("Sufficiente");
}
else if(voto>8){
printf("Ottimo");
}
else{
printf("Buono");
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: