+ 1

Somebody tell me the precedence of the arithmetic operators.

18th May 2018, 4:30 AM
DEV RAAZ
DEV RAAZ - avatar
3 odpowiedzi
+ 7
1 exponents and roots 2 multiplication and division 3 addition and subtraction
18th May 2018, 4:50 AM
Kawaii
Kawaii - avatar
+ 1
Kawaii You should probably also add groupings to that.
18th May 2018, 4:54 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
0
1. parenthesis 2. multiplication and division 3. addition and subtraction 4. relational operators 5. Equality operators
29th May 2018, 11:52 AM
Alok Danodia
Alok Danodia - avatar