push all exercices

This commit is contained in:
lbenedar
2026-02-21 14:09:13 +03:00
commit a94d994b8c
72 changed files with 787 additions and 0 deletions

BIN
ch3/1/ch3_1.exe Normal file

Binary file not shown.

13
ch3/1/ch3_1.go Normal file
View File

@@ -0,0 +1,13 @@
package main
import "fmt"
func main() {
var greetings = []string{"Hello", "Hola", "नमस्कार", "こんにちは", "Привіт"}
var a = greetings[:2]
var b = greetings[1:4]
var c = greetings[3:]
fmt.Println(a)
fmt.Println(b)
fmt.Println(c)
}

3
ch3/1/go.mod Normal file
View File

@@ -0,0 +1,3 @@
module ch3_1
go 1.25.0