Skip to content

Commit

Permalink
Add Baklava in PowerShell (TheRenegadeCoder#3952)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzuckerm authored Oct 29, 2024
1 parent 42ed5b6 commit 90dd176
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions archive/p/powershell/Baklava.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
for ($X = -10; $X -le 10; $X++) {
$NumSpaces = [Math]::Abs($X)
$Line = " " * $NumSpaces + "*" * (21 - 2 * $NumSpaces)
Write-Output $Line
}

0 comments on commit 90dd176

Please sign in to comment.