Answer the question
In order to leave comments, you need to log in
Find the remainder of a division in minutes?
There is a track, its length changes in seconds (float type of the currentlength variable), you need to find out how many minutes are in it after removing the round clock, I use this design, but something is not right when the track is more than 60 minutes
if((int)60 / (((int)currentlength)/60) == 0)
shedulewriter.write("10.");
else
shedulewriter.write("11.");
k = (((int)currentlength/60)) % 60;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question