Answer to Question #206237 in C++ for barath

Question #206237

Consider the products in the Departmental Store. Each product has product Id, product Name, product Unit price etc. Perform the following operations with Item details in the Departmental Store. i) Search the item by the item it. ii) List the items which are less than Rs. 100 /= iii. Sort the items by the item price and display all the items. 


1
Expert's answer
2021-06-13T00:03:56-0400
Create a class Departmental_Store. 
Declare a variables product_Id as an integer, product_Name as a string,
product_Unit and price as integers. Theses variables should be 
members of the Departmental_Store. 
Create a method inside the Departmental_Store that returns an item if it's less than 
Rs. 100/=
Create a method that takes an array of items and sort the elements.
Create a method that takes an item and an array and then returns the item if available
inside the array.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog