Computer Science, asked by 278raghav, 2 months ago

If x and y are the int type variables, What will be the result of the expression:

x % y when x= -14 and y = -3​

Answers

Answered by MD20091
0

THE RESULT WILL BE :- +2

Because here % means remainder in Java.

so: -14÷ -3 = 12

Remainder = 2.

PLS MARK ME AS BRAINLIEST.

Similar questions