Try another one. Type· PRINT 5*3 and press I RTN I. Aquarius should have print ed 15. Surprised? Maybe you didn't recogntze the asterisk ( *) as a mulllpticatton sign ARITHMETIC OPERATIONS- WHICH COMES FIRST? If you combrne more than one anthmetic operation 1n the same expression (example: 5 + 16 I 4). which operatton does the computer do first? Does it add 5 ARITHMETIC KEYS In BASIC we use these keys to do arithmet tc operattons. [I] (UP PER CASE) to add Example: 2 + 2 ·I 16. then divtde the result by 4? Or does 11 divide 16 by 4 and add 5 to the result? The order of prec ed ence makes a difference in the an s wer . ~ (lower case) to subtract Example.
16 - 12 0 Here's how your Aquarius Com· puler deals with the question. It scan s the expresston !rom lei\ to nght. lookmg for anthmettc opera ti ons m th is order: (UPPER CASE) to mulltply Example. 5 * 8 [ZJ (lower case) to divide Example. 20 I 4 Parentheses Exponentiation Negation (giving a number a negative value. ltke - 5) Multiphcatton and d1vis1on Addition an d subtraction You can also EXPO NENT IATE (raise a number to a power) with th e A symbol. Example 8,.. 2 = 8 to the second power (or 8 squared) = 64 BY THE WAY YOU CANNOT DIVIDE BY 0.