Created
June 30, 2016 12:44
-
-
Save dflima/d02d9a6f88afbeff271248dd0c0b30d1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import "fmt" | |
| func main() { | |
| //Enter your code here. Read input from STDIN. Print output to STDOUT | |
| var input int | |
| fmt.Scanf("%d", &input) | |
| for i := 1; i <= 10; i++ { | |
| output := input * i | |
| fmt.Printf("%d x %d = %d\n", input, i, output) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment