Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using C++ Programming Language, to develop a program. 7 The Namshi shopping app is a fashion & beauty destination in Saudi Arabia, United Arab Emirates,
Using C++ Programming Language, to develop a program.
7
The Namshi shopping app is a fashion & beauty destination in Saudi Arabia, United Arab Emirates, Kuwait, Oman, Bahrain, Qatar & Iraq. The client can enjoy online shopping with over 1,300 brands and more than 130,000 products across clothing, sportswear, footwear, accessories, beauty, fragrances, gift ideas, and more. Also, the client can find out about the latest offers and discounts that we offer throughout the year.
Suppose that you are a developer at Namshi IT department and the client request to create the suitable C++ code to include the functions for each of the following operations: (7 Marks)
1. Function called (Fill_item): (Without for loop) The client will add a product title to the cart. (1 Mark)
2. Function called (Fill_item): (Without for loop) The client will add a product price to the cart. (1 Mark)
3. Function called (Remove_item): When the product is out of stock, the client will delete the product from the cart. (1 Mark)
4. Function called (Find_item): Search for the products with specific title. (1 Mark)
5. Function called (Display_item): To print the product in an descending order. (1 Mark)
Lab Instructor(s) : Dr. Enas , L. Sameerah , T.A Maha .
1|Page
6. Function called (Sum_price_items): To calculate the total price list. (Using recursion technique) (1 Mark)
7. Void function called (Average_price): That calculate the average of product price.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started