github.com/giovannyortegon/go@v0.0.0-20220115155912-8890063f5bdd/src/Profesional/1-Retos/Reto1.go (about) 1 package main 2 3 import "fmt" 4 5 func sumaDosNumeros(a int, b int) int { 6 return a + b 7 } 8 9 func main() { 10 var a, b int 11 12 fmt.Print("Ingrese el primer numero: ") 13 fmt.Scan(&a) 14 fmt.Print("Ingrese el segundo numero: ") 15 fmt.Scan(&b) 16 fmt.Println("La suma es:", sumaDosNumeros(a, b)) 17 }