0
I found a error
So the code was this: int x = 15; int y = 4; int result = x / y; System.out.println(result);' You follow basic math evaluation: 15/4 = 3.75. However, the space would only let me type one number, and using 5 points for a hint the answer was 3. But, for this to work, int y would have to equal 5, not 4, as 15/5 = 3. Please fix this, Sololearn Devs.
1 Antwort
+ 1
int result =x/(float)y;
do this