Run ❯
×
Change Orientation
Change Theme, Dark/Light
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 }