int main()
{
char *prompt = "Please enter a character: ";
printf("%s", prompt);
int N;
do {
N=getchar();
putchar (N);
} while (N != '\0');
return 0;
}
this is what I have so far, this prints whatever I input. where do i go from here
I need help getting started for this function getCharInSet. Im stuck and I dont even know how to start.
the function prompts the user with a string pointed to by prompt and then reads a single character from the keyboard. it then sees if the character is lower case and if it is it uppercases it. it then checks if that character is in the N approved characters given in the N-length character array appointed by L. if the character is not allowed it will print a list of allowed characters.
Thanks!