Run ❯
×
Change Orientation
Change Theme, Dark/Light
package main import ("fmt") func main() { x := 30 if x >= 10 { fmt.Println("x is larger than or equal to 10.") } else if x > 20 { fmt.Println("x is larger than 20.") } else { fmt.Println("x is less than 10.") } }
x is larger than or equal to 10.