Answer the question
In order to leave comments, you need to log in
How do you know which remainder is correct?
there is this miniature code:
public class Test {
public static void main(String[] args) {
int sec = 548632;
int days = sec / 3600;
int ost = sec % 3600;
System.out.println(days);
System.out.println(ost);
}
}
152
1432
Process finished with exit code 0
Answer the question
In order to leave comments, you need to log in
Yes, it's wrong. The remainder is that part of the dividend that can no longer be divided by the divisor so that it turns out to be an integer.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question