Case 4-2
The arithmetic operators in your program are not behaving the way you think they should be, so you decide to brush up on your operators and the hierarchy of operations.
What is the correct order among the following operations?

A. exponentiation, multiplication, integer division, MOD, addition
B. multiplication, exponentiation, MOD, integer division, addition
C. integer division, multiplication, exponentiation, MOD, addition
D. multiplication, integer division, exponentiation, MOD, addition

Answer: A

Computer Science & Information Technology

You might also like to view...

Typically, on a column chart, the different categories, items, or time periods to be compared are on the horizontal (X) axis

Indicate whether the statement is true or false

Computer Science & Information Technology

________ formats rely on compression, low frame rates, and small image size to deliver your video over the Internet

A) MPEG B) AVI C) QuickTime D) Streaming video

Computer Science & Information Technology