Write a program that computes customers

Assignment Help C/C++ Programming
Reference no: EM13890637

Online processing system:

You are to write a program that computes customers' bill for his/her order in an online processing system. The different components of the program are
1. The CustomerAccount class
2. TheOrder class
3. TheItem class
4. The main program

A. The CustomerAccount class will havethe customers' information. It will alsokeep track of customerID, CustomerName, Address, and phoneNumber. The responsibilities for this class are: AddCustomer, EditCustomer, and deleteCustomer

B. The Order class will information about customer order. It can update the charges for the customer order. It will keep track of orderID, customerID, productID, totalCharge. The responsibilities for this class are: CreateOrder and EditOrder

C. The Item class will have information about different items. It can update the totalCharge variable of theOrder classclass. It will keep track of productID, productPrice, and productDescription. The responsibilities for this class are: Addproduct, EditProduct, and SelectProduct

I. Design the main so that it have a menu that allows theuser to add items to the customer order, and check the customer out by showing the total charges. When the custmoer checks out, the total charges should be displayed.
II. You need to writer constructors and destructors, get functions (to retrieve appropriate attributes) and set functions (to set attribute values) for each class. And any other required functions to perform the requirements

• The parameters and return types of each function and class member function should be decided in advance (during the analysis and design phase).
• Think about what attributes to include in each class
• Think of useful member functions for each class
• The program will be best implemented as a multi-file program.

Reference no: EM13890637

Questions Cloud

Identify how states deal with immigration issues : For this paper you need to write about policy decisions that states make and laws states enact when the federal government does not write laws or deal with a specific issue. Read U.S. v. Lopez, 514 U.S. 549 (1995), and Schechter v. U.S., 295 U.S. 495..
Description of two forensic psychology professional roles : a description of two forensic psychology professional roles. Then, analyze the impact of each role in both an internal context (i.e., within the police department) and an external context (i.e., outside the police department-n neighborhoods, schoo..
Emails are randomly monitored to enforce policy : Consolidated Bargains, Inc. has a corporate policy of not allowing employees to use company email for private use.  Joe Bennett is a Consolidated employee who used email to communicate with his attorney asking whether Joe's wife filed for divorce
How a forensic psychology professional could address : Select a special challenge that a forensic psychology professional may encounter when working with or in a police force. Think about how a forensic psychology professional could address these challenges.
Write a program that computes customers : Design the main so that it have a menu that allows theuser to add items to the customer order, and check the customer out by showing the total charges.
Who won at the lower appellate level : Brief Alissa Jamison v. Summer Infant (USA), Inc the Parties (Who is the plaintiff?  The defendant?  The appellant?  The appellee?)  the History of the case (Who won at trial court?  Who won at the lower appellate level?  Who won in this decision?)
Essay - animal language : Essay: Animal Language. First, do some research on animal language. Follow this link (http://mishhirsch.edu.glogster.com/animals-language/) to videos, articles, and other resources
Cash in advance of performing work for amina jordan : Costanza Company experienced the following events and transactions during July.
How can unforeseen circumstances effect the economy? : How can unforeseen circumstances effect the economy? Give examples.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd