Advertisement
Spocoman

10. Clock - part 2

Sep 21st, 2024 (edited)
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.24 KB | None | 0 0
  1. package main
  2.  
  3. import "fmt"
  4.  
  5. func main() {
  6.     for h := 0; h < 24; h++ {
  7.         for m := 0; m < 60; m++ {
  8.             for s := 0; s < 60; s++ {
  9.                 fmt.Printf("%d : %d : %d\n", h, m, s)
  10.             }
  11.         }
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement