push all exercices
This commit is contained in:
12
ch4/3/ch4_3.go
Normal file
12
ch4/3/ch4_3.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
var total int
|
||||
for i := 0; i < 10; i++ {
|
||||
total = total + i
|
||||
fmt.Println(total)
|
||||
}
|
||||
fmt.Println(total)
|
||||
}
|
||||
Reference in New Issue
Block a user