Name: ID#: Write a C++ program for ATM machine. The program displays the following menu to the costumer to select one op

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Name: ID#: Write a C++ program for ATM machine. The program displays the following menu to the costumer to select one op

Post by answerhappygod »

Name Id Write A C Program For Atm Machine The Program Displays The Following Menu To The Costumer To Select One Op 1
Name Id Write A C Program For Atm Machine The Program Displays The Following Menu To The Costumer To Select One Op 1 (28.07 KiB) Viewed 16 times
Name: ID#: Write a C++ program for ATM machine. The program displays the following menu to the costumer to select one operation: Please, choose one operation: 1-Deposit 2-Withdraw 3-Display balance If the user chooses 1, the program asks him/her to enter the amount of money to be deposited, update the balance, and display the updated balance. If the entered amount for money is negative, the program should give an appropriate error message and terminate. If the user chooses 2, the program asks him/her to enter the amount of money to be withdrawn, update the balance, and display the balance. If the entered amount for money withdrawal is negative or more than the balance, the program gives appropriate error message and terminate. If the user chooses 3, the program will display balance and end. Assume the initial balance is 1000 before conducting any operation.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply