You could just have them type the whole word like hamburger with <string.h> and if(strcmp(choice,"Hamburger")==0) , but maybe this is a little to recondite for this specific tutorial...