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

7 lines
134 B
PowerShell
Raw Permalink Normal View History

2026-04-30 12:34:36 -04:00
foreach ($m in 0..3) {
foreach ($n in 0..6) {
Write-Host -NoNewline ("{0,5}" -f (ackermann $m $n))
}
Write-Host
}