For this assignment, you will develop the planning necessary for constructing a class that implements a Bag ADT in Java. Your program will store corresponding items for an On-Line Food Delivery Service. Specifically, your program should consider an item's name and price and manage the customer's shopping cart. The following are example values your class will be using for data: Customer Number = 1; item_Name="Can of Soup"; Price = $4.00; After selecting your values for data, what are the required operations that must be used to create the Bag Interface? Your deliverable will consist of the following: Pseudocode for your proposed program Flowchart of the operations of adding items to the shopping cart and removing items from the cart.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter11: Inheritance And Composition
Section: Chapter Questions
Problem 6PE
icon
Related questions
Question

For this assignment, you will develop the planning necessary for constructing a class that implements a Bag ADT in Java. Your program will store corresponding items for an On-Line Food Delivery Service. Specifically, your program should consider an item's name and price and manage the customer's shopping cart.

The following are example values your class will be using for data:

  • Customer Number = 1;
  • item_Name="Can of Soup";
  • Price = $4.00;

After selecting your values for data, what are the required operations that must be used to create the Bag Interface?

Your deliverable will consist of the following:

  • Pseudocode for your proposed program
  • Flowchart of the operations of adding items to the shopping cart and removing items from the cart.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 3 images

Blurred answer
Knowledge Booster
Data members
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning