SAE11_2024/DEV1.1/essai_ctrl_m/coincid.c
Bekkouche Anis 6828f16e48 jfnjfj
2024-10-14 17:26:47 +02:00

22 lines
428 B
C

#include <stdio.h>
#include <stdlib.h>
int main (void){
int i;
int entier[4];
int occurrences=0;
for(i=0;i<5;i++){
printf("Jet n°%d : ", i+1);
scanf(" %d", &entier[i]);
if(entier[i]>6 || entier[i]<1){
printf(" Veuillez entrer un entier entre 1 et 6\n");
scanf(" %d", &entier[i]);
}
}
for(i=0;i<5;i++){
if(entier[i]!=entier[i]
}
printf("Occurences maximum : ", occurrences);
}