I need some help with the toupper code.
int main()
{
char pick;
printf("A. Local needs\n");
printf("B. Local Service\n");
scanf("%d",& pick);
switch (pick)
{
case 'a':
printf("Hello World");
case 'b':
printf("Hello Nation");
}
getch()
return 0;
}
How would i implement the toupper code so i could change pick to upper case if the user entered a common letter. And do i have to # include anything at the top to use toupper?