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