We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
0
1
1 parent 4b58de0 commit 425c9a4Copy full SHA for 425c9a4
main.go
@@ -45,7 +45,7 @@ func main() {
45
}
46
attempts++
47
chances--
48
- if userInputNumber < 0 || userInputNumber > 100 {
+ if userInputNumber < 1 || userInputNumber > 100 {
49
fmt.Println("Invalid choice, Enter a number between 1 and 100")
50
continue
51
0 commit comments