Skip to content

Instantly share code, notes, and snippets.

@itfranck
Created August 31, 2019 02:03
Show Gist options
  • Save itfranck/f812e53640c42c0e83f1110eccec8aa3 to your computer and use it in GitHub Desktop.
Save itfranck/f812e53640c42c0e83f1110eccec8aa3 to your computer and use it in GitHub Desktop.
BrainCandy
for ($i = 1; $i -lt 10; $i++) {
$Currentnumstr = "$Currentnumstr$i"
Write-Host "$($Currentnumstr.PadLeft(9,' ')) x " -NoNewline
Write-Host "8" -NoNewline -ForegroundColor Red
Write-Host " + $i = $([int]$Currentnumstr * 8 + $i)"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment