Skip to content

Instantly share code, notes, and snippets.

@NickFoden
Created May 1, 2018 01:36
Show Gist options
  • Save NickFoden/cb29d806cb63c7e685e105d8e720b779 to your computer and use it in GitHub Desktop.
Save NickFoden/cb29d806cb63c7e685e105d8e720b779 to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main() {
k := 0
j := 1
for k < 12 {
k++
for j < k*2 {
fmt.Print("*")
j++
}
fmt.Println()
j = 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment