PowerShell - Control Flow
You want to write a script that prints:
- 'Cold' if temperature is below 10,
- 'Warm' if temperature is between 10 and 25 inclusive,
- 'Hot' if temperature is above 25.
Which if-elseif-else structure correctly implements this?
- 'Cold' if temperature is below 10,
- 'Warm' if temperature is between 10 and 25 inclusive,
- 'Hot' if temperature is above 25.
Which if-elseif-else structure correctly implements this?
