6.9k views
1 vote
What is printed when the following code has been executed?

int x = 15;
int y = 4;
System.out.println((2 * x + y) % x);
15
4
34
2
19

User Gbru
by
7.2k points

1 Answer

4 votes
Hey it is 15 hope this helps
User Joyann
by
6.0k points