Skip to content

Instantly share code, notes, and snippets.

@martin9700
Created April 2, 2014 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save martin9700/9943591 to your computer and use it in GitHub Desktop.
Save martin9700/9943591 to your computer and use it in GitHub Desktop.
Param (
[Parameter(Mandatory,HelpMessage="Enter the base for the multiplication table")]
[int]$Base,
[int]$Max = 12
)
cls
Write-Host
ForEach ($Num in (0..$Max))
{ Write-Host "$Base X $Num = $($Base * $Num)"
}
Write-Host "`n`n`n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment