mirror of
https://github.com/SourceFellows/gobuch.git
synced 2025-07-21 15:40:44 +02:00
initial import
This commit is contained in:
@ -0,0 +1,18 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
|
||||
val := 2 * 5
|
||||
|
||||
switch {
|
||||
case val == 10:
|
||||
fmt.Println("10!")
|
||||
case val < 10:
|
||||
fmt.Println("kleiner 10")
|
||||
default:
|
||||
fmt.Println("größer 10")
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user