https://play.golang.org/p/j5RZMEO7inq
Process took too long? What does that mean?
Hi Cherolyn,
Sorry, but it looks like the Go Playground will not let you run infinite loops!
The problem is that within the for{}
loop, you never changed the value of bd
. When I run the program on Linux, it keeps printing out 1956
forever.
Try inserting something likebd++
or bd = bd + 1
inside the loop, maybe right after the fmt.Printf()
call.
Lol! That’s right, I forgot that part
Darn, I went overtime again
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.