Topic B Project 3: The Cafeteria Vending Machine (Spicy Difficulty)
Context: The "Digital Campus" Cafeteria. Time Limit: 3 Hours (SL) / 4 Hours (HL). The school cafeteria is upgrading its vending machines. They need a simulation program to manage inventory and process transactions. The system must load products from a file, accept digital "money," dispense items if stock permits, and calculate change. Crucially, the machine must save the new stock levels back to the file when it...