Write a java program using nested for loops to show theTime In this format. ss: mm: hh
Note: Don’t use limit 60 for min and for second as theloop will be executed so many times and will be hard to observe. SoI suggest you to put limit for hour=12,for min = 4 and for second=3.
So it will mean that after 3 second one minute will becompleted and after 4 min 1 hour will be completed.
Sample of the output: The program will give youthe output which should look like this
IS General Output ——Configuration : Assignment 4_201101244 The Time Now Is The Time Now Is The Time Now Is The Time Now Is The Time Now Is The Time Now Is 1:2:3 The Time Now Is The Time Now The Time Now Is The Time Now Is The Time Now Is The Time Now Is The Time Now The Time Now 2:1:2 The Time Now The Time Now Is The Time Now Is 2:2:2 The Time Now Is 2:2:3 The Time Now The Time Now Is 2:3:2 The Time Now Is The Time Now 2:4:1 The Time Now The Time Now Is The Time Now Is The Time Now The Time Now Is 3:1:3 The Time Now Is The Time Now Is The Time Now Is 3:2:3 The Time Now Is The Time Now The Time Now Is 3:3:3 The Time Now Is 3:4:1 The Time Now The Time Now Is 3:4:3 The Time Now Is Tl. – T: — 1 — T- Is Is 4:1:1 Show transcribed image text IS General Output ——Configuration : Assignment 4_201101244 The Time Now Is The Time Now Is The Time Now Is The Time Now Is The Time Now Is The Time Now Is 1:2:3 The Time Now Is The Time Now The Time Now Is The Time Now Is The Time Now Is The Time Now Is The Time Now The Time Now 2:1:2 The Time Now The Time Now Is The Time Now Is 2:2:2 The Time Now Is 2:2:3 The Time Now The Time Now Is 2:3:2 The Time Now Is The Time Now 2:4:1 The Time Now The Time Now Is The Time Now Is The Time Now The Time Now Is 3:1:3 The Time Now Is The Time Now Is The Time Now Is 3:2:3 The Time Now Is The Time Now The Time Now Is 3:3:3 The Time Now Is 3:4:1 The Time Now The Time Now Is 3:4:3 The Time Now Is Tl. – T: — 1 — T- Is Is 4:1:1
Expert Answer
Answer to Write a java program using nested for loops to show the Time In this format. ss: mm: hh Note: Don’t use limit 60 for m…