New course! Every coder should learn Generative AI!
Try a free lesson- 2
Write a java programme to convert hours into minute seconds ans milli seconds
convert
2 Answers
+ 10
1h=60min
1min=60s
1s=1000ms
Pretty much all you need besides a bunch of modulos.
+ 2
just divide hours by 60 and seconds by 1000