×
×
Correct!
Complete the
package main
import ("fmt")
func main() {
var @(3) = 4
switch day {
@(4)(1):
fmt.Print("Saturday")
@(4)(2):
fmt.Print("Sunday")
@(7):
fmt.Print("Weekday")
}
}
package main
import ("fmt")
func main() {
var day = 4
switch day {
case(1):
fmt.Print("Saturday")
case(2):
fmt.Print("Sunday")
default:
fmt.Print("Weekday")
}
}
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 28 exercises.
Are you sure you want to continue?