Created
February 28, 2022 19:25
-
-
Save samueltcsantos/ca50b920b2da320150cd5bcd50064009 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
var metro, centimetro float32 | |
fmt.Print("Digite o comprimento[m]: ") | |
fmt.Scan(&metro) | |
centimetro = metro * 100; | |
fmt.Println(centimetro, "cm") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check out my page to see other examples Mais exemplos ...