Complete the code to print numbers from 1 to 5 using a for loop.
for ($i = 1; $i -le 5; $i[1]) { Write-Output $i }
Complete the code to loop through numbers 0 to 4 and print each.
for ($num = 0; $num [1] 5; $num++) { Write-Output $num }
Fix the error in the for loop to count down from 5 to 1.
for ($i = 5; $i -ge 1; $i[1]) { Write-Output $i }
Fill both blanks to create a loop that prints even numbers from 2 to 10.
for ($i = [1]; $i [2] 10; $i += 2) { Write-Output $i }
Fill all three blanks to create a loop that prints squares of numbers from 1 to 5.
for ($num = [1]; $num [2] 5; $num [3]) { Write-Output ($num * $num) }
