Example 1
In the following example, one of the operands in the arithmetic expression is a string, for arithmetic operations are not allowed.
Solution:
Changing the string, to the variable , corrects this error.
Example 2
In the following example, a space between and the left parenthesis implies multiplication between the two, which causes an error.
>
|
|
Solution:
Removing the space between and the left parenthesis corrects this error.
>
|
|