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

  Define class and objects

Is there any way a single programmer (for example, a student working alone on a programming assignment) can benefit from some of the ideas behind the inspection process? Explain the difference between C++ struct and class

  Represent an instruction supported by simpletron

Implementation contains a Simpletron class and several supporting Instruction classes

  Useful and well-designed programs of ticketseller

Designing well-written and readable programs using a disciplined coding style, including documentation and indentation standards.Demonstrating how to implement logic involving sequence, selection, and repetition using Visual Basic.

  Program that prompts the user to enter the weight of person

The program should output the desired result. However, the program contains logic errors. Find and correct the logic errors so that the program works properly.

  State diagram to recognize one form

Design a state diagram to recognize one form of the comments of the C-based programming languages, those that begin with /* and end with */. and also Write and test the code to implement the state diagram.

  Function that will merge the contents

Write a function that will merge the contents of two sorted(ascending order) arrays of type double values, storing the result in an array output parameter (still in ascending order).

  Why does the neverwet spray protect it from water

As is know, acetone is a polar molecule like water, so isn't it suppose to mix? So my question is: why does the Neverwet spray protect it from water but not from oils and detergents?

  The purpose of the program is to prepare an accounting

the purpose of the program is to prepare an accounting database for e.g. a dorms kitchen to keep track of the

  Q1 write a menu-driven program that maintains an address

q1. write a menu-driven program that maintains an address book using a linked list. the address book must supports the

  Where c is the temperature in degrees celsius

Write a program that takes as input a depth in kilometers inside the earth and displays the temperature at this depth in degrees Celsius and in degrees Fahrenheit.

  What is the main research problem addressed in the article

Briefly discuss the body of literature that is used to motivate the research. You may need to review some of the key articles referenced by the authors. Identify any shortcomings in the prior literature that the article addresses.

  Prepare an arbitrary sinusoidal waveform

Create a program to compute the derivative of an arbitrary input function, with arbitrary duration and arbitrary limits

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