update go/l4.go

This commit is contained in:
hhu67 2026-06-06 16:55:05 +03:00
parent 55225686f1
commit dc40ebd598
2 changed files with 3 additions and 2 deletions

View file

@ -5,13 +5,14 @@ import (
)
func logic() string {
var phrase string
fmt.Println("Твой возраст")
var x int
_, err := fmt.Scan(&x)
if err != nil {
return "еблан"
phrase = "еблан"
return phrase
}
var phrase string
switch {
case x < 0:
phrase = "Ты еще не родился"

Binary file not shown.