Using the fmt.Scan function, read a value from the stdin into the v variable, and finally output its value.
Pointers
Scanning
Report a typo
Write a program in Go
package main
import "fmt"
func main() {
var v int
// Put your code here
fmt.Println(?)
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.