书名: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.

11 lines
166 B

package main
import "fmt"
const boilingF = 212.0
func main() {
var f = boilingF
var c = (f - 32) * 5 / 9
fmt.Printf("boiling poing = %g°F or %g°C\n", f, c)
}