Hello,
Please post code that is properly formatted and does not have syntax errors.
You should try all your examples first and then ask questions.
Please do a bit of research in advance.
Do a Google search for:
relational operators java
conditional operators java
logical operators java
Search the Processing references for:
relational operators
logical operators
Please read:
- Processing FAQ - Frequently asked questions
- Guidelines - Asking Questions
- Guidelines - Answering Questions
- p5.js Community Statement
Our homework policy:
https://discourse.processing.org/faq#homework
Students are responsible for following the policies of their school, class, and instructor. Post as if your instructor is reading.
If this is a homework question please tag it as homework .
Please format your code as a courtesy to the community:
https://discourse.processing.org/faq#format-your-code
:)