D2 Contest -1 problem 3
unknown
c_cpp
a year ago
495 B
18
Indexable
#include <stdio.h>
#include <ctype.h>
int main() {
char c;
scanf("%c", &c);
char lower_c = tolower(c);
if (lower_c == 'a' ) {
printf("Yes .\n");
} else if (lower_c == 'e'){
printf("Yes .\n");
} else if (lower_c == 'i'){
printf("Yes .\n");
} else if (lower_c == 'o'){
printf("Yes .\n");
} else if (lower_c == 'u'){
printf("Yes .\n");
} else {
printf("No .\n");
}
return 0;
}
Editor is loading...
Leave a Comment