Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -6,7 +6,7 @@ function inCarpet($x, $y) {
|
|||
$x = [Math]::Truncate($x / 3)
|
||||
$y = [Math]::Truncate($y / 3)
|
||||
}
|
||||
return "█"
|
||||
return "#"
|
||||
}
|
||||
|
||||
function carpet($n) {
|
||||
|
|
@ -17,3 +17,5 @@ function carpet($n) {
|
|||
Write-Host
|
||||
}
|
||||
}
|
||||
#Display the carpet for N=3...
|
||||
carpet 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue