go are run with using conditional if i use in in side loop
Opened this issue · 0 comments
Anike567 commented
Context: https://go.dev/tour/flowcontrol/2
package main
import "fmt"
func main() {
sum := 1
for ; ;sum += sum {
if(sum > 1000) {
break;
}
}
fmt.Println(sum)
}
and it work fine