20 lines
516 B
Markdown
20 lines
516 B
Markdown
# 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 |