1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
| printf("Quel est votre age?");
scanf ("%ld",&age);
if(age==11)
printf("Salut petit,mon jeu te plait?\n\n\a");
printf("\nTape 1 pour oui: ");
printf("\nTape 2 pour non: ");
scanf("%ld", &reponse );
if( reponse == 1 )
printf("\nC'est bien ça c'est très, très bien!! !\n");
if( reponse == 2 )
printf("\nbon tant pis!\n\n");
else if(age==14)
printf("Salut adol ,mon jeu te plait?\n\n");
printf("\nTape 1 pour oui: ");
printf("\nTape 2 pour non: ");
scanf("%ld", &reponse );
if( reponse == 1 )
printf("\nC'est bien ça c'est très, très bien!! !\n\n");
else if( reponse == 2 )
printf("Arghhh, tu comprend rien , t'as jamais rien compris !");
else if(age==43)
printf("Salut adulte,mon jeu te plait?\n\n\a");
else if(age==45)
printf("Salut adulte,mon jeu te plait?\n\n\a");
system("PAUSE");
return 0;
} |
Partager