aboutsummaryrefslogtreecommitdiffstats
path: root/exercises/switch/switch2/main.go
blob: f125a7e65ae37c6afec579d455c5027a408f33a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// switch2
// Make me compile!

// I AM NOT DONE
package main

import "fmt"

func main() {
	switch {
	case 0 > 1:
		fmt.Println("zero is greater than one")
	case:
		fmt.Println("one is greater than zero")
	}
}