end of the video should refactor it
This commit is contained in:
8
1.Basic/9.Do_while.ps1
Normal file
8
1.Basic/9.Do_while.ps1
Normal file
@@ -0,0 +1,8 @@
|
||||
$xmen = @('Wolverine', 'Cyclops', 'Storm', 'Professor x', 'Gambie', 'Dr. Jean Grey')
|
||||
|
||||
$counter = 0
|
||||
|
||||
Do {
|
||||
Write-Host $xmen[$counter] "is a mutant"
|
||||
$counter++
|
||||
} While ($counter -ne 6)
|
||||
Reference in New Issue
Block a user