I need to create a method with the following signature:
public String getPrintTime (int t);
t represents time in milliseconds ranging 1-5120000. The output needs to be in the format MM:ss:mmm. For example:
getPrintTime(2342819) == 39:02.819
getPrintTime(23) == 00:00.023
getPrintTime(2340000) == 39:00.000
I have tried in many ways but couldn't get it to work in all of the cases.