The mini-supermarket already has a list of product names and their corresponding
type (soap, oil, milk, cheese, etc….) included in it initially.
The user menu displays the following operations:
(Hint: Use the function gets to read an array of characters including spaces)
- Insert a product (name, type)
- Display products of (selected) type, i.e. the user select a type and display all
products’ names in this type
- Search product by name (if exist, display its name, and its type)“linear search
- display all products, their names and corresponding type, as they had enterd.
fady.a.samy
0
Newbie Poster
Recommended Answers
Jump to PostAnd your question is? PLEASE DO NOT ask us to do your homework for you. See the TOS (Terms of Service/Use) for this site. Make an effort, and we can help you fix errors, but you still have to do the work!
All 4 Replies
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
MonsieurPointer
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
jephthah
1,888
Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.