RosettaCodeData/Task/Ackermann-function/PowerShell/ackermann-function-2.psh

7 lines
134 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
foreach ($m in 0..3) {
foreach ($n in 0..6) {
Write-Host -NoNewline ("{0,5}" -f (ackermann $m $n))
}
Write-Host
}