ENG: Add all the additions and changes required to add a new banking transaction to the ATM Case Study program. Derive a new class from the Transaction class so that the user can transfer funds from their own account to another account. The user must enter the account number and the amount of the account he wants to send money to. The existence of the account number entered should be checked, if it is found in the database, it should be added to the account, both totalBalance and availableBalance should be increased by the specified amount; Of course, if there is enough money in the user's account to transfer. Similarly, both totalBalance and availableBalance should be reduced by the specified amount
ENG: Add all the additions and changes required to add a new banking transaction to the ATM Case Study program. Derive a new class from the Transaction class so that the user can transfer funds from their own account to another account. The user must enter the account number and the amount of the account he wants to send money to. The existence of the account number entered should be checked, if it is found in the database, it should be added to the account, both totalBalance and availableBalance should be increased by the specified amount; Of course, if there is enough money in the user's account to transfer. Similarly, both totalBalance and availableBalance should be reduced by the specified amount
Chapter5: Making Decisions
Section: Chapter Questions
Problem 8PE
Related questions
Question
c++ question
![ENG: Add all the additions and changes required to add a new banking transaction to the ATM Case
Study program. Derive a new class from the Transaction class so that the user can transfer funds from
their own account to another account. The user must enter the account number and the amount of the
account he wants to send money to. The existence of the account number entered should be checked, if it
is found in the database, it should be added to the account, both totalBalance and availableBalance should
be increased by the specified amount; Of course, if there is enough money in the user's account to
transfer. Similarly, both totalBalance and availableBalance should be reduced by the specified amount
from the account of the user who makes the transaction. Otherwise, the user should be notified of the
reason why the operation could not be done without any action. The user should be able to cancel the
operation and return to the main menu. The new class must have a constructor and a virtual execute
method.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F0b8b88bb-24a9-4d22-8e30-52af6717f023%2F114079d4-4616-422c-a4d5-0257cda1a674%2Fds322y7_processed.jpeg&w=3840&q=75)
Transcribed Image Text:ENG: Add all the additions and changes required to add a new banking transaction to the ATM Case
Study program. Derive a new class from the Transaction class so that the user can transfer funds from
their own account to another account. The user must enter the account number and the amount of the
account he wants to send money to. The existence of the account number entered should be checked, if it
is found in the database, it should be added to the account, both totalBalance and availableBalance should
be increased by the specified amount; Of course, if there is enough money in the user's account to
transfer. Similarly, both totalBalance and availableBalance should be reduced by the specified amount
from the account of the user who makes the transaction. Otherwise, the user should be notified of the
reason why the operation could not be done without any action. The user should be able to cancel the
operation and return to the main menu. The new class must have a constructor and a virtual execute
method.
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 5 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
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.Recommended textbooks for you
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781305480537/9781305480537_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT