Delivery Driver Payment Tracking System

Problem

Implement a delivery-driver wage tracking system with these methods:

  • add_driver(driver_id, usd_hourly_rate): register a driver and their hourly rate in USD.
  • `record_delivery(driver_i...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: