Originally posted by fred rosenberger:
you can use as many && and || as you want. i've seen as many as 27 conditions all ANDed and ORed together.
Note that this is probably not good programming technique (the 27), but a few are usually ok
What are you saying Fred... 27?!?! What a bowl of spagheti... but am puzzled with something else about if/else statements while doing my homework:
When nesting if-else statements, it happens that compiler throws a message "else without if" although in the source code "if" stands where it should be... parentheses are fine too...