I've a simple question about conditions in if
and for
or while
loops.
Is there any way that lets me verify this condition with less lines of code?
if (are_you_sure != "Si" && are_you_sure != "si" && are_you_sure != "No" && are_you_sure != "no")
I don't think I can minimize the code above, but I would like to be sure.
See Question&Answers more detail:os