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.