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
-
Get the current time
-
Get the current hour, minute and second from the current time
-
Create the clock array by getting the digits from the digits array
-
Print the clock by using the clock array
-
Create a separator array (it's also a placeholder type)
-
Add the separators into the correct positions of the clock array