Skip to content

Instantly share code, notes, and snippets.

@samuelloza
Created November 3, 2019 19:42
Show Gist options
  • Select an option

  • Save samuelloza/ab469d836e516f085f27cd951de546ee to your computer and use it in GitHub Desktop.

Select an option

Save samuelloza/ab469d836e516f085f27cd951de546ee to your computer and use it in GitHub Desktop.
//Suma dos numeros A+B
// go run SumaDosNumeros.go
package main
import "fmt"
func main() {
var i int
fmt.Scan(&i)
var j int
fmt.Scan(&j)
fmt.Printf("%d",i+j)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment