fix: typo fixes
This commit is contained in:
committed by
Inanc Gumus
parent
ec1fb0e322
commit
288a41adf9
@ -14,7 +14,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
if len(os.Args) < 3 {
|
if len(os.Args) != 3 {
|
||||||
fmt.Println("gimme two numbers")
|
fmt.Println("gimme two numbers")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -28,6 +28,6 @@ func main() {
|
|||||||
c = "-"
|
c = "-"
|
||||||
}
|
}
|
||||||
fmt.Printf("\r%s Please Wait. Processing....", c)
|
fmt.Printf("\r%s Please Wait. Processing....", c)
|
||||||
time.Sleep(time.Millisecond * 150)
|
time.Sleep(time.Millisecond * 250)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,14 +18,14 @@ package main
|
|||||||
// 3. I would use a short switch.
|
// 3. I would use a short switch.
|
||||||
//
|
//
|
||||||
// EXAMPLES
|
// EXAMPLES
|
||||||
// Player wins: then randomly printone of these:
|
// The Player wins: then randomly print one of these:
|
||||||
//
|
//
|
||||||
// go run main.go 5
|
// go run main.go 5
|
||||||
// YOU WON
|
// YOU WON
|
||||||
// go run main.go 5
|
// go run main.go 5
|
||||||
// YOU'RE AWESOME
|
// YOU'RE AWESOME
|
||||||
//
|
//
|
||||||
// Player loses: then randomly printone of these:
|
// The Player loses: then randomly print one of these:
|
||||||
//
|
//
|
||||||
// go run main.go 5
|
// go run main.go 5
|
||||||
// LOSER!
|
// LOSER!
|
||||||
|
Reference in New Issue
Block a user