Develop a global function customerinformation

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

Problem:

A Bookstore allow of postponing payment of goods for his known customers with some limits on the total debt. The owner of the bookstore decided to use a computer program to facilitate managing. With using this program, a lot of operations more easily such as finding the total debt for a certain customer, adding a new information of customer.

Suppose that a bookstore only 5 customers, each customer can have 100 S.R as a debt for maximum. Develop a program with the following requirements:

Part 1) Use a parameterized constructor to initialize data members.

Part 2) Develop a global function "CustomerInformation" that prints the customers information (number of dept each customer can handel). ( Use copy constructor).

Part 3) Destructor.

Part 4) Add functions as necessary.

Part 5) Make a menu driven main program to test all functions as followings.

1- Print Customer status.

2- Exit

Reference no: EM13702278

Questions Cloud

Human creativity from the era covered by the learning plan : 1.Your presentation includes one example of human creativity from the era covered by the learning plan. 2.Your presentation includes one slide that represents the example chosen (an image)
Wave number and peak intensity for isoamyl alcohol infrared : Question- Indicate the function groups, wave number and peak intensity for isoamyl alcohol infrared spectral analysis.
How a certified it security professional can add credibility : Describe two IT certifications that may be considered when selecting an expert for an expert witness opinion.
What mass of sodium fluoride must be added to hf : Question- What mass of sodium fluoride (MM 42.0 g/mol) must be added to 500. mL of a 0.20 M HF solution to give a buffer solution having a pH of 3.40? [pKa(HF) = 3.15]
Develop a global function customerinformation : Use a parameterized constructor to initialize data members - Develop a global function "CustomerInformation" that prints the customers information (number of dept each customer can handel). ( Use copy constructor).
Explain ascorbic acid has an acid dissociation constant : Question- Ascorbic acid has an acid dissociation constant of 8.0 X 10^-5. It would be most effective for preparation of a buffer with a pH
Write a program that will convert a temperature : Write a program that will convert a temperature in Fahrenheit to its equivalent in Celsius. Show the Celsius temperature formatted to 1 decimal place.
Prepare a quote in us dollars on the forward price : 2. You are asked to prepare a quote in US dollars on the forward price you would charge for the delivery in 9 months of a British bond with a face value of  £1000 and semiannual coupons of 10%  per annum.
Determine the reaction order : Question- A particular reactant decomposes with a half-life of 173 s when its initial concentration is 0.308 M. The same reactant decomposes with a half-life of 225 s when its initial concentration is 0.237 M. Determine the reaction order: 0,1,2

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Uses the sieve of eratosthenes algorithm

Write a complete program that uses the Sieve of Eratosthenes algorithm to list all prime numbers from 1 to 1,000 .

  Write a linked-list-based push-down stack implementation

Write a linked-list-based push-down stack implementation that keeps items on the list in order from least recently inserted to most recently inserted. You will need to use a doubly linked list.

  Create a graphical calculator with buttons that can add

create a graphical calculator with buttons that can add subtract multiply divide - sin cos tan clear and modulus.write

  C program to mips program

Convert the following C program to MIPS program. Assuming that i, j, k, f, are stored in registers $s0, $s1, $s2, $s3 already.

  Programmingto compute the volume of water in the cubic feet

Write down an algorithm (Programming in C) in order to compute the volume of water in the cubic feet, flowing through a pipe of diameter d in feet, having a velocity of v feet per second.

  Calculate distances and map a route

The GPS navigation system uses the graph and geometric algorithms to calculate distances and map a route. One of the geometric problems is the closest-pair problem. Given a set of points, the closest-pair problem is to find the two points that are..

  Object oriented programming paradigm is better choice

Explain why object oriented programming paradigm is considered better choice than structured programming paradigm. Does it reflect our "natural" way of thinking or do you find it artificial?

  Analyze an efficient function for removing all duplicates

Describe and analyze an efficient function for removing all duplicates from a collection A of n elements.

  Change the inheritance to private inheritance

Take the following C++ code and make the following changes. Change the inheritance to private inheritance. Change the private data member balance to protected. Define get function members of IntAccount class to retrieve name and balance.

  Program to enter number of values to be processed

Write c++ statements to permit the user to enter n, the number of values to be processed; then assign the anonymous array of n double values, storing its address in doublPtr.

  Give a complete pseudo-code description of the recursive

Give a complete pseudo-code description of the recursive merge-sort algorithm that takes an array as its input and output.

  Prompt the user for and read 6 numbers

Write a program using an array that will store input data. Prompt the user for and read 6 numbers between 70 and 90. Verify the numbers should be greater than 70 and less than 90. If the number is less than or equal to 70 or greater than 90, repro..

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