Make your own free website on Tripod.com

Order of Operations

int a = 4, b = 6, c = 8;
double d = 10;

1. a + b / c + d

2. b % c + a * a

3. b % a + c * d

4. d % a

5. a / (c % a)

6. a * (d + c) * b

7. a - a * a - b

8. c * (c + b) / a

9. d / a * b

10. c - b - a * d

11. c + b - d * a

12. ( b - c) * (a + b)

13. b % c * 2

14. a / 0 + 6 * a

15. c % b % a

16. d % a + a + c

17. b * c % a

18. d - c * a

19. b * a % a + c

20. 0 / a + 0 / b * 3