RosettaCodeData/Task/Loops-While/PowerShell/loops-while.psh

6 lines
55 B
Plaintext

[int]$i = 1024
while ($i -gt 0) {
$i
$i /= 2
}