Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*Costea Alessandro
- 3A INFO 22/09/18*/
- //Inserire il voto e il programma stampa se il voto รจ sufficiente , insufficiente o gravemente insufficiente
- #include <stdio.h>
- #include <stdlib.h>
- int main ()
- {
- int a;
- printf("Inserire il valore del voto(compreso tra 2 e 10): ");
- scanf("%f",&a);
- if (a>=6)
- {
- printf("Il voto e' sufficiente");
- }
- else
- {
- if(a<=4)
- {
- printf("Il voto e' gravemente insufficiente");
- }
- else
- {
- printf("Il voto e' insufficiente");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement