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
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.