This project Object Oriented Programming. We need to C++ code in multiple Files: Question: In order to develop an Automatic Teller Machine, you need to implement the following classes: 1. ATM 2. Basic Unit ATM 3. Complex ATM 4. User 5. Bank Account 6. Saving Account 7. Checking Account 8. Card The class Card should have the following private attributes: • CardNumber (int) • PIN (int) Create a function that will automatically generate a card number for the user using rand function. The class BankAccount should have the following private attributes: • BankName (char*) • Branch (char*) • TotalCash (float) The class SavingAccount which is derived from the class BankAccount should have the following private attributes: • interestRate(float) It also have a function to calculate the interest. The class CheckingAccount which is derived from the class BankAccount should have the following private attributes: • fee per transaction(float) The class User that has a BankAccount (saving or cheking), Card and some of the basic information of a person involving • Name (char*) • PhoneNumber (int*) • Address (char*) The class ATM has a user and can perform the following tasks: • Take input (Card_number and PIN) from user. • Validate the Card number and pin entered by user.
This project Object Oriented Programming. We need to C++ code in multiple Files:
Question:
In order to develop an Automatic Teller Machine, you need to implement the following classes:
1. ATM
2. Basic Unit ATM
3. Complex ATM
4. User
5. Bank Account
6. Saving Account
7. Checking Account
8. Card
The class Card should have the following private attributes:
• CardNumber (int)
• PIN (int)
Create a function that will automatically generate a card number for the user using rand function.
The class BankAccount should have the following private attributes:
• BankName (char*)
• Branch (char*)
• TotalCash (float)
The class SavingAccount which is derived from the class BankAccount should have the following
private attributes:
• interestRate(float)
It also have a function to calculate the interest.
The class CheckingAccount which is derived from the class BankAccount should have the following
private attributes:
• fee per transaction(float)
The class User that has a BankAccount (saving or cheking), Card and some of the basic information of a
person involving
• Name (char*)
• PhoneNumber (int*)
• Address (char*)
The class ATM has a user and can perform the following tasks:
• Take input (Card_number and PIN) from user.
• Validate the Card number and pin entered by user.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 8 images