Browse Source

int

branchMac
dewjjj 8 months ago
parent
commit
e7dfbfb895
  1. 12
      int/int.go

12
int/int.go

@ -0,0 +1,12 @@
package main
import "fmt"
func main() {
var u uint8 = 255
fmt.Println(u, u+1, u+2, u*u)
var i int8 = 127
fmt.Println(i, i+1, i+2, i*i)
var o int8 = 50
fmt.Println(o, o+78, o+79, o+80, o*o)
}
Loading…
Cancel
Save