I've tried retyping the code several times and didn't work for some reason the If wont accept both Q and q it just accepts Q.
Code:#include <stdio.h> int main(void) { printf("A menu will show up and you choose the number for the selection you want.\n\n"); system("pause"); //here should get the letter entered printf("Press the menu key \"q\" or \"Q\" to open the menu.\n\n"); //here is to check if the letter is Q or q if (getchar() == 'Q' || getchar() == 'q') { printf("\t\tMod Menu"); } else { printf("Didn't enter \"Q\" or \"q\".\n"); } return 0; }