书名:Go程序设计语言 作者:[美]艾伦A.A.多诺万
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
199 B

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)
}