I need to know how to check if something a user inputs matches a word. For example, if the program asks "Do you want to continue?" and the user enters either "yes" or "no" it'll check to see if "yes" was entered then do something and same with "no". I can do this with numbers like "Enter 1 for Yes 0 for No" and with single letters like y and n but I can't figure out how to do this with entire words.



LinkBack URL
About LinkBacks


