Pergi ambil beberapa input menggunakan scan ()

package main
import "fmt"

func main() {
    
  // create variables
  var name string
  var age int
    
  // take name and age input
  fmt.Println("Enter your name and age:")
  fmt.Scan(&name, &age)
    
  // print input values
  fmt.Printf("Name: %s\nAge: %d", name, age)

}
SAMER SAEID