Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
19
Task/Show-ASCII-table/Go/show-ascii-table.go
Normal file
19
Task/Show-ASCII-table/Go/show-ascii-table.go
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
for i := 0; i < 16; i++ {
|
||||
for j := 32 + i; j < 128; j += 16 {
|
||||
k := string(j)
|
||||
switch j {
|
||||
case 32:
|
||||
k = "Spc"
|
||||
case 127:
|
||||
k = "Del"
|
||||
}
|
||||
fmt.Printf("%3d : %-3s ", j, k)
|
||||
}
|
||||
fmt.Println()
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue