セクション 2. 章 5
single
Challenge: Inventory Management System
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Build a C# program that manages a store's inventory using a dictionary. The program should allow adding products with their quantities, restocking products, and listing products that are currently out of stock.
- Add a product with a specified quantity to the inventory.
- If a product already exists, increase its quantity by the specified amount.
- Restock a product by increasing its quantity in the inventory.
- If a product does not exist when restocking, add it with the specified quantity.
- Return a list of products that have a quantity of zero.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 2. 章 5
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください