package main import "fmt" func fivetimes(n int) (result int, toobig bool) { if n * 5 > 99 { toobig = true; return; } result = 5 * n; return; } func main() { fmt.Printf("Hello, world; or Καλημέρα κόσμε; or こんにちは 世界; atau Apa kabar dunia!

"); for i := 0; i < 300; i++ { a, invalid := fivetimes(i); if !invalid { fmt.Println("Give this as a math quiz: what is five times", i, "? The answer is", a); } else { fmt.Println("Too hard!"); break; } } }

Line