// Chapter 18 example: changing the step of the counter. // Run with: go run exercises/18/04-step.go package main import "fmt" func main() { for i := 0; i <= 100; i += 10 { fmt.Print(i, " ") } fmt.Println() for i := 10; i > 0; i-- { fmt.Print(i, " ") } fmt.Println() }