Question on Strings

112
Last edited on
111
Last edited on
If you want to compare your variable to a string you need to enclose the string in " ", i.e.
if(choice == "n"). FYI, this is case-sensitive as well.
Topic archived. No new replies allowed.