Skip to content

Commit

Permalink
add bool.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yoritin committed Sep 5, 2020
1 parent 9432896 commit 536358e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
10 changes: 10 additions & 0 deletions src/type/bool.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
d || e

ftt
fff
ttt
tff
ttt
tff
ttt
tft
13 changes: 7 additions & 6 deletions src/type/main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package main

import (
"fmt"
)

func main() {
fmt.Printf("type")
}
ns := [...]int{19, 86, 1, 12}
var sum int
for i := 0; i < len(ns); i++ {
sum += ns[i]
}
println(sum)
}

0 comments on commit 536358e

Please sign in to comment.