// Program to print the first 5 natural numbers package main import "fmt" func main() { // for loop terminates when i becomes 6 for i := 1; i <= 5; i++ { fmt.Println(i) } }