Run ❯
Get your own website
×
Change Orientation
prog.go
Input
package main import ("fmt") func main() { var i int fmt.Print("Type a number: ") fmt.Scan(&i) fmt.Println("Your number is:", i) }
// This is the input value you give to the program. 1
Your number is: 1