30 lines
550 B
C
30 lines
550 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int main(void){
|
|
char charactere;
|
|
char tab[6]={'a','e','i','o','y'};
|
|
printf("entrez un charactère : ");
|
|
scanf("%c", &charactere);
|
|
|
|
if(charactere == 'a'){
|
|
printf("voyelle");
|
|
}else if(charactere == 'e'){
|
|
printf("voyelle");
|
|
}else if(charactere == 'i'){
|
|
printf("voyelle");
|
|
}else if(charactere == 'o'){
|
|
printf("voyelle");
|
|
}else if(charactere == 'u'){
|
|
printf("voyelle");
|
|
}else if(charactere == 'y'){
|
|
printf("voyelle");
|
|
}else{
|
|
printf("minuscule");
|
|
}
|
|
|
|
printf("\n");
|
|
|
|
|
|
return EXIT_SUCCESS;
|
|
} |