So I am trying to write a program for thread callouts where you enter the thread for example "1/4-20" and it displays the Diameters
and I currently have to run it with out any of the symbols, otherwise it thinks that it is an equation. I would like to turn this 1/4-20 into text so that it doesnt read it as an equation. Because I currently have to enter it in as "1420"
I currently have the variable x as an int I have tried using " char x;" but I can only use one character in the if command, anything more and it shows up as an error.
Is there anyway that I can use a line of text or a word, than if that word matches my if command it will display the desired text.
I apologize if the wording here is messy, I can't think of a good way to describe it other than I would like multiple characters to activate a certian action. So if I typed in a word and hit enter, and that word was correct, it would display something.