I have a bug using the logical operators

Why the program will run that code? when my variables for lunch is 10?


welcome to the Snap! forums!
you need to put the equals inside the and, not the and inside the equals.
untitled script pic (34)
you could also do this:
untitled script pic (35)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.