#include <stdio.h>
#include <ctype.h>
int main() {
char s[] = "c programming";
if (isalpha(s[0])) {
printf("yes\n");
} else {
printf("no\n");
}
if (isalpha(s[1])) {
printf("yes\n");
} else {
printf("no\n");
}
char ch = 'a';
if (isalpha(ch)) {
printf("yes\n");
} else {
printf("no\n");
}
printf("%s", isalpha('z') ? "yes" : "no");
return 0;
}
/*
run:
no
yes
yes
*/