Order status
Rust
Easy
enums
Task «Order status»
Determine the order status by its code. The order code is an integer from 0 to 4. 0 — 'New', 1 — 'Processing', 2 — 'Shipped', 3 — 'Delivered', 4 — 'Cancelled'. If the code is not within the valid range, output 'Unknown status'. Use an enumeration (enum) for the statuses.
Input Format
Integer n (0 <= n <= 4) — status code.
Output Format
String — status name in Russian.
Examples
Example 1
INPUT
1 1
4 5
OUTPUT
5.00
main.rs