C/C++ Learners Hub
A place for coders and developers to share, learn and grow together.
A grocery shop wants create a system so that they can track the day to day records
of their inventory. The shop can shop can only store maximum 50 different
categories items at a time. Each categories of item have three variables, they are
itemID, itemPrice and itemQuantity. Write a C++ program using appropriate data
structure and which has following functions
insertItem() – it will ask user to enter new item and user have to enter the values of
itemID, itemPrice and itemQuantity.
DisplayAllItem() - it will display all items information.
DisplayOneItem()- it will ask user to enter specific itemID and it will only display
that item information.
Please help me...
Hey Araf! You can use Classes and objects to write this program. Use array of objects with max 50.