This commit is contained in:
Unknown
2013-06-22 21:29:42 +08:00
parent fac2467441
commit 67be80ca8c
120 changed files with 506 additions and 7307 deletions

View File

@@ -0,0 +1,16 @@
package main
import "fmt"
func main() {
var num1 int = 100
switch num1 {
case 98, 99:
fmt.Println("It's equal to 98")
case 100:
fmt.Println("It's equal to 100")
default:
fmt.Println("It's not equal to 98 or 100")
}
}