Hi mga java master patabang ko sa code ani.? thanks
Assume that the person goes to bed between noon and
midnight and gets up between midnight and noon. The computer
should ask you to enter the time when you go to bed and the time when
you wake up: hours, minutes, and seconds.
Run your program with a bed time of 10,45,32 (h,m,s) and a wake up
time of 7,34,47 (h,m,s). Run it again with a bed time of 2,00,00 and a
wake up time of 12,01,01.
Sample Run
WHAT TIME DID YOU GO TO BED (HOURS, MINUTES,
SECONDS)
10, 45, 32
WHAT TIME DID YOU GET UP? (HOURS, MINUTES,
SECONDS)
7,34,47
YOU SLEPT FOR 31755 SECONDS.
========================
STAR TRACKS
Write a program that will produce the following design.
*
* *
* * *
* * * *
* * * * *
Write the program using only one *.
Making A$ ="*" and using A$ more than once is also not allowed.