As in C or Java, you can leave the pre and post statements empty.
package main import "fmt" func main() {
sum :=
for ; sum < ; {
sum += sum
}
fmt.Println(sum)
}
As in C or Java, you can leave the pre and post statements empty.
package main import "fmt" func main() {
sum :=
for ; sum < ; {
sum += sum
}
fmt.Println(sum)
}