This commit is contained in:
unknown
2022-01-14 06:54:18 +01:00
commit d9949b5cb0
288 changed files with 6425 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
#include<stdio.h>
#include<stdlib.h>
int main(void) {
float reponse;
printf("Mention\n---------\nVeuillez entrez votre note, votre mention vous sera presenté.\nVotre note : ");
scanf("%f", &reponse);
if(reponse>20 || reponse<0){
printf("Veuillez entrez une note comprise entre 0 et 20\n");
return EXIT_SUCCESS;
}
if(reponse<12){
printf("Vous n'avez pas obtenue de mention, mais vous avez votre bac\n");
}
if(reponse >= 12 && reponse < 14){
printf("Vous avez obtenu votre bac avec mention assez bien\n");
}
else {
if(reponse >=14 && reponse < 16){
printf("Vous avez obtenu votre bac avec mention bien\n");
}
else
printf("Vous avez obtenu votre bac avec mention trés bien\n");
}
return 0;
}