+ 6
Time......second is behaving wierd!
See the output....see the seconds for sometime, it behaving weird...first 01, 02, 03...,09 then 10, 20, 30, 40....,10, then again 01......why so!? https://code.sololearn.com/W3ydsplgP5ss/?ref=app
1 Answer
+ 5
Line 19:
Change to below code:
number = "0" + number;
number+="0" work like number=number+"0"