asked 92.1k views
5 votes
. Evaluate the following expressions.

a. 25 / 3
b. 20 - 12 / 4 * 2
c. 32 % 7
d. 3 - 5 % 7
e. 18.0 / 4
f. 28 - 5 / 2.0
g. 17 5 % 2 - 3 h. 15.0 3.0 * 2.0 / 5.0

asked
User Rguha
by
7.8k points

1 Answer

5 votes
a. 8 (floor division)
b. 14 (PEMDAS)
c. 4 (Remainder of division)
d. -2 (PEMDAS - Modulus comes before subtraction )
e. 4.5 (floating point division)
f. 25.5 (PEMDAS- Division comes first here)

I didn't understand the last question. I hope you look all of this up if you plan on getting good grades.

PEMDAS is also sometimes taught as BODMAS in some schools.
answered
User Kuropan
by
9.4k points

No related questions found