Mgt402 solved midterm papers

You are required to create a class named Customer.
It will have name, customer-ID and spending as its private data members.
You have to make two constructors for this class, . default constructor and parameterized constructor.
Default constructor will initialize the name with “No name”, customer-id with “0” and spending with “0”;
Parameterized constructor will take three arguments . name, customer-id and spending.
Create getter and setter functions for each data member of the class.
A friend function will calculate the total bill for each object of class Customer, passed to it as argument.
If total spending is less than 5000, then tax added on total spending is 5% and discount is 1%. If spending is more than 5000 and less than 10,000 then 10% tax and discount is 2% and if spending is more than 10,000 then 15% tax and 3% discount is applicable.
Remember that all this calculation will be done inside friend function.
In the main() function, create three customer type objects by using new operator. Initialize first object with default constructor, second with parameterized and take input from user for third object (use setter functions to set third object’s values taken from the user).
Calculate total bill for all three objects by passing them to friend function and then display the result of calculation as shown in example output.

Hoping you the best of your health and Eman. I am here to acknowledge you about the very rising issue now a day. As you know about the recent sales, they are unfortunately quiet low. That is sure not a good sign to be considered, but the thing that has to be get into consideration is raising complaints of the WI tribe connections. Sir as you know already, the shortage of electricity has caused low sales and revenue to almost every type of business working in the Pakistan. Probably WI tribe affected too from this arena. There are other factors why WI tribe connections in most remote areas are not functioning properly. Especially the wireless services are worst. Here are my some suggestions. We should switch our connections to other broadband facilities working in the country We should, if want to continue with wi tribe, we must ask them to upgrade their systems, as well as we must upgrade our systems simultaneously

Mgt402 solved midterm papers

mgt402 solved midterm papers

Media:



http://buy-steroids.org