Question: Need an example of basic code.
Im working on an art project that I want to use some code in, and I am proficient in python but that looks fairly simple so I was hoping java would look more impressive. So I just need a visual of the building blocks of my idea so if someone could provide an example I would appreciate the help.
basically I need to see what this would look like: create a variable that is a number and a variable that uses the first variable with a mathematical function (adding/subtracting/division etc), and use these in an if else statement (if a variable 'less then' then run the addition kind of idea).
Again thanks to anyone who would like to help!