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.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter11: Introduction To Classes
Section11.4: A Case Study: Constructing A Date Class
Problem 3E
icon
Related questions
Question
100%

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.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 8 images

Blurred answer
Knowledge Booster
Data members
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage