From 1cda1ab0c29c4d3e77c4270608e1c209b2ffb306 Mon Sep 17 00:00:00 2001 From: Ellen Date: Thu, 6 Feb 2020 22:02:22 +0100 Subject: [PATCH] n=99 --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index d7568fe..09b8033 100644 --- a/main.go +++ b/main.go @@ -44,7 +44,7 @@ func isBouncy(num int) bool { } func findNumberByBouncyPercentage(percentage float64) (num int) { - num = 1 + num = 99 var bouncyCount = 0 for { if isBouncy(num) {