Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
6
Task/Loops-For/PowerShell/loops-for-1.ps1
Normal file
6
Task/Loops-For/PowerShell/loops-for-1.ps1
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
for ($i = 1; $i -le 5; $i++) {
|
||||
for ($j = 1; $j -le $i; $j++) {
|
||||
Write-Host -NoNewline *
|
||||
}
|
||||
Write-Host
|
||||
}
|
||||
6
Task/Loops-For/PowerShell/loops-for-2.ps1
Normal file
6
Task/Loops-For/PowerShell/loops-for-2.ps1
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
1..5 | ForEach-Object {
|
||||
1..$_ | ForEach-Object {
|
||||
Write-Host -NoNewline *
|
||||
}
|
||||
Write-Host
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue