#include <stdio.h>
int main()
{
char name[25];
printf("What is your last name? ");
printf("(Please capitalize the first letter!)/n");
scanf(" %s", name);
if ((name[0] >= 'P') && (name[0] <= 'S'))
{
printf("between p and q");
}
else
{
printf("not./n");
}
return 0;
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266515.html