Computer Science, asked by sompamandal, 7 months ago

(e) int y = 72, a = 27, r = 10;
r=r + (y+a) % a
System.out.println("R = " + r);​

Answers

Answered by Oreki
0

Output:

R = 28

Explanation:

r = 10 + (72 + 27) % 27

r = 10 + 99 % 27

r = 10 + 18

r = 28

Similar questions