Predict the output of the following operations if x = -5 and y = 3
initially answer the rest
Attachments:
Answers
Answered by
1
Answer:
Sorry I collect the points
Answered by
0
Answer:
a. 5
b. -3
c. 2
d. 2
e. -5
f. -2
g. 2
h. -1.667
i. 15
j. 0
Step-by-step explanation:
given x = -5 and y = 3
a. -(-5) = 5
b. -(-3) = 3
c. -(-5) + -(3) = 2
d. -(-5) - 3 = 2
e. % is known as modulo which gives the remainder of the division performed between the numbers,
-5 % -11 = -5
f. -5 + 3 = -2
g. -5 % 3 = 2
h. -5 / 3 = -1.667
i. -5 * -(3) = 15
j. -(-5) % -5 = 0
#SPJ3
Similar questions