Integer Division and Modulus
What is printed as a result of executing the following code segment?
int x = 15;
int y = 4;
System.out.print(x / y);
System.out.print(" ");
System.out.println(x % y);
A
3 3
B
3 3.75
C
4 3
D
3.75 3
Question Leaderboard
Not enough data yet to show leaderboard.
APFIVE