Using an if statement for multiple conditionsI'm trying to make a small guessing game where the user isn't allowed to guess the same number twice...
Cleaning up code -- grouping parts in {}Oh, don't worry; it's all hypothetical. I was just thinking of ways to group my code once it stops b...
Cleaning up code -- grouping parts in {}Lets say I have a ton of valid if statements as follows: [code] if (){ } if (){ ...
Restricting user input for arraysYeah, I [i]just[/i] got it before I check this thread again. I just read the code wrong -- It makes ...
Restricting user input for arraysThanks you guys. Major brain fart on my part. [s]Smac89, could you explain to me why you used || in...