push all exercices
This commit is contained in:
BIN
ch2/2/ch2_2.exe
Normal file
BIN
ch2/2/ch2_2.exe
Normal file
Binary file not shown.
11
ch2/2/ch2_2.go
Normal file
11
ch2/2/ch2_2.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
const value = 15
|
||||
var i int = value
|
||||
var f float64 = value
|
||||
fmt.Println(i)
|
||||
fmt.Println(f)
|
||||
}
|
||||
3
ch2/2/go.mod
Normal file
3
ch2/2/go.mod
Normal file
@@ -0,0 +1,3 @@
|
||||
module ch2_2
|
||||
|
||||
go 1.25.0
|
||||
Reference in New Issue
Block a user