The roller coaster needs riders to be at least 120 cm tall. Write CanRide(height): return true if the height (in cm) is enough, false if not. Exactly 120 is fine.
CanRide(130)→TrueCanRide(119)→Falsefunc CanRide(height int) boolpackage main
func CanRide(height int) bool {
// your code here: tall enough (120 or more)? return true
return false
}
Run tries the examples. When they look right, Submit.