Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import "fmt"
- func main() {
- var inches float32
- fmt.Scanln(&inches)
- var centimeters = inches * 2.54
- fmt.Println(centimeters)
- }
- ИЛИ:
- package main
- import "fmt"
- func main() {
- var inches float32
- fmt.Scanln(&inches)
- fmt.Println(inches * 2.54)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement