Spring 2023
CpSc 246 Object Design
Due Dates: See below
60 points

Your group (2 or 3 students) is to develop a "cash register" class and implementation to simulate the use of a cash ONLY register.

Your program must contain:

As you read this assignment you should have lots of questions that are not answered by this web page. This is intentional so that you encounter places where you must make design decisions. After part one's due date, more details will be provided.


Part 1: Design
Due: Mar 24th
5 points

Design the program by creating an outline or flowchart. Problem decomposition will result in a list of the main pieces of the solution. You should have the two classes defined and written in C++ (note: this is the definition of the classes, not the implmentation) Describe how data will flow between objects.
Consider how the entire order is tracked. Would it help if you knew the number of items? Then decide which of these (or other objects) are necessary for your design. Write the C++ class definition for each of these objects, then provide one to three sentences describing what each method is for and a few words describing what each data member will be used for.


Part 2: Code for half of the methods and main program to test the methods.
Details

Due: March 29th
5 points

You are to write the code for input, panel "display", and the cash register object. You are also to write a main funtion that calls the implemented methods and tests them.


Part 3: Completed Project
Due: April 12th
Details for handing the project in will be provided later