package main import "fmt" func main() { age := 20 if age >= 18 { fmt.Println("You are an adult.") } }
Click Run to execute this code.