Allen Chen

Generation

generate functionSun, 02 Apr 2023

the 1 to 19 times table

func times(n int) { for i := 1; i <= 19; i++ { fmt.Println(n, "x", i, "=", n*i) } }

Questions about programming?Chat with your personal AI assistant