Language C++! In part 2, you will be focusing on allowing one of the four transactions listed...

70.2K

Verified Solution

Question

Programming

Language C++!

In part 2, you will be focusing on allowing one of the fourtransactions listed below to be completed by the user on one of hisaccounts: checking or savings. You will include defensiveprogramming and error checking to ensure your program functionslike an ATM machine would. The account details for your customerare as follows:

CustomerUsernamePasswordSavings AccountChecking Account
Robert Brownrbrownblue123$2500.00$35.00

For this report, update the C++ program that allows the accountowner to complete one of the 5 functions of the ATM:

1 – Deposit (adding money to the account)
2 – Withdrawal (removing money from theaccount)
3 – Balance Inquiry (check current balance)
4 – Transfer Balance (transfer balance from one account toanother)
5 – Log Out (exits/ends the program)

After a transaction is completed, the program will update therunning balance and give the customer a detailed description of thetransaction. A customer cannot overdraft on their account; if theytry to withdraw more money than there is, a warning will be givento the customer. Also note that the ATM doesn’t distribute orcollect coins – all monetary values are in whole dollars (e.g. aninteger is an acceptable variable type). Any incorrect transactiontypes will display an appropriate message and count as atransaction.

Answer & Explanation Solved by verified expert
4.3 Ratings (690 Votes)
C CODE FOR ATM WITH OUTPUT ATTACHED includeusing namespace    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students