PowerShell - Control Flow
You have this PowerShell code:
How would you modify it to also print 'Five or Ten' if
$val = 5
if ($val -eq 5) { 'Five' } elseif ($val -eq 10) { 'Ten' } else { 'Other' }
How would you modify it to also print 'Five or Ten' if
$val is either 5 or 10, without repeating code?