53 12 - 3) x + 34 ((rats - 3) / 45 sum * 3 + 2 correct wrong correct wrong correct -79.4 (foo - 7) z 99 ((x+y)/(y+92) -3) +6 x ** -4 + correct wrong correct wrong correct
An expression can be written without using any spaces. Operators and parentheses are enough to separate the parts of an expression. You can use one or more spaces in an expression to visually separate the parts without changing the meaning. For example, the following is a correct expression:
(hoursWorked*payRate)-deduction
The following means exactly the same:
(hoursWorked * payRate) - deduction
Use spaces wisely to make it clear to frail humans (such as yourself) what is intended in expression. Spaces can't be placed in the middle of identifiers. The following is NOT correct:
( hours Worked * pay Rate) -deduction
It is possible (but not nice) to be deceptive with spaces. For example, in the following:
12-4 / 2+2
it looks like 4 is to be subracted from 12, then that result ( 8 ) is to be divided by 4. However, the spaces don't count, and the expression is really the same as:
12 - 4/2 + 2
This arrangement of spaces makes it more clear what the expression really means.