Run ❯
Get your
own
website
×
Change Orientation
package main import ("fmt") func main() { temperature := 14 if (temperature > 15) { fmt.Println("It is warm out there.") } // this raises an error else { fmt.Println("It is cold out there.") } }
./prog.go:9:3: syntax error: unexpected else, expecting }