Question: Needs to be visual Studio C + + You are requested to develop part of an application that is going to be used in a

Needs to be visual Studio C++
You are requested to develop part of an application that is going to be used in a Bank. Specifically, you will need to implement the following:
Need to be able to ask the user their name, card type, card limit, cost of item purchase, expiry date, institution , card number.
Card: A bank card is identified by card number and card holder. (10 Marks)
There are two types of bank-cards:
CreditCard (20 Marks) is a card with balance, limit, institution that provides the card(CIBC, RBC, TD, etc.), and expiry date. These are the following required methods that you are requested to implement:
purchase(float amount) : This method is used when the owner purchases a product. Once called, the balance of this card is increased by amount. However, if there is not enough credit available, the transaction is failed (when available credit is not enough to purchase a product). Notice that there is a limit for the card and the owner cannot exceed the limit.
RewardCard (20 Marks) is a credit card with reward-points. So, the customer collects one point for every dollar that is spent. Keep in mind that you will need to re-implement the purchase() method to obtain points.
Customer (20 Marks) is identified by name, date of birth and address. Each customer has a collection of cards. A customer can purchase a product with either of cards (if there is enough credit available). Implement the payWithCard(Card c) method that is used by the customer to pay.
Test (10 Marks): Test your code by creating a vector that contains one creditcard and one rewardcard in it.
Note:
You are free to add any other feature(s) that you think is/are required for this application.
You need to create three cards (card, creditcard and rewardcard)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!