Go break statement
package main//from www. j ava 2 s . co m import "fmt" func main(){ var n int n = 9 i:=1 for { if(i>10){ break; } fmt.Println(n," X ",i," = ",n*i) i++ } }