Order Pipeline
Challenge on lesson: Checkpoint: Enums & Models
CHALLENGE
Difficulty: beginner+25 XP
Given the Order model in scope, implement Order next_status(Order o) advancing PENDING -> SHIPPED -> DELIVERED (DELIVERED stays), int count_status(const Order *os, int n, Order s) counting matches, and int shipped_revenue(const Order *os, int n) summing total_cents of SHIPPED orders.
Press Submit to check your solution.
Back to lesson: Checkpoint: Enums & Models