Lesson 24 of 24

Mini Project: Inventory Management

15 min 50 XP

एक दुकान का inventory system: stock जोड़ें, items बेचें और बचे हुए की report दें, जिसमें class, map और exceptions मिलकर काम करते हैं। Resume के लिए अच्छा project।

Example: edit me and press Run

Output Loading C++ (first time takes a few seconds)
Press Run to see the result here.

Challenge

+50 XP

पहली लाइन n है। Commands: ADD item qty → कुछ print नहीं होता SELL item qty → "Sold qty item", या "Only k item left", या अनजान item के लिए "No item item" REPORT → qty > 0 वाला हर item वर्णमाला क्रम में "item qty" के रूप में, या कोई न हो तो "Empty"

Output Loading C++ (first time takes a few seconds)
Press Run to see the result here.