Sync
This commit is contained in:
parent
6f050a029e
commit
776bba907c
3887 changed files with 59894 additions and 7280 deletions
|
|
@ -0,0 +1,9 @@
|
|||
$Array = 1..9 | Get-Random -Count 9
|
||||
$nTries = 0
|
||||
While(-join $Array -ne -join @(1..9)){
|
||||
$nTries++
|
||||
$nReverse = Read-Host -Prompt "[$Array] -- How many digits to reverse? "
|
||||
[Array]::Reverse($Array,0,$nReverse)
|
||||
}
|
||||
"$Array"
|
||||
"Your score: $nTries"
|
||||
Loading…
Add table
Add a link
Reference in a new issue