restructure: arrays and slices
This commit is contained in:
20
15-project-retro-led-clock/02-printing-the-clock/README.md
Normal file
20
15-project-retro-led-clock/02-printing-the-clock/README.md
Normal file
@ -0,0 +1,20 @@
|
||||
# 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
|
Reference in New Issue
Block a user