Files
learngo/15-project-retro-led-clock/02-printing-the-clock
2019-10-30 19:41:13 +03:00
..
2019-10-30 19:41:13 +03:00
2019-10-30 19:41:13 +03:00
2019-01-29 19:43:12 +03:00

GOAL 2: Printing the Clock

Notes

  • Note main.go file contains the solution of the previous step.
  • "solution" folder contains the solution for this step.

Challenge Steps

  1. Get the current time

  2. Get the current hour, minute and second from the current time

  3. Create the clock array by getting the digits from the digits array

  4. Print the clock by using the clock array

  5. Create a separator array (it's also a placeholder type)

  6. Add the separators into the correct positions of the clock array