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