Say I have an int:
int time = 1500
which means that there are 1500 seconds in time and I would like to convert that to the format of
25:00
which is 25 minutes and 0 seconds
what I did so far is
System.out.println(time/60 + time%60);
and it always gives me the result of 25:0 instead of 25:00, how do I deal with this??