This example executes a simple numeric calculation and displays the result.

Try changing the calculation by using different numbers and freely combining the operators +, -, *, and /. You may also use parenthesis to indicate precedence.

You can use integers (e.g. 3, 7) and floats (e.g. 1.0, 3.14). However, you can not directly mix integers and floats in a calculation (in that case, an error will be printed at the command line).