Instruction: Create a java program using user-defines methods that will perform the 3 major functionalities of an Automated Teller Machine(Withdraw, Deposit, Balance Check) 1. Withdraw * Input the amount to be withdrawn. Compute for the remaining balance after the operation (balance = balance - withdrawn) 2. Deposit * Input the amount to be deposited. Compute for the updated balance after the operation (balance = balance + deposit) 3. Balance Check * Display the remaining balance. Use the following method names: withdraw, deposit, checkBalance Containing the code and 4 image files (Sample, Sample2, Sample3 and Sample4) containing different sample input/output of the program. Thank you God bless! hope you could help me :)
Instruction:
Create a java
functionalities of an Automated Teller Machine(Withdraw, Deposit, Balance Check)
1. Withdraw
* Input the amount to be withdrawn. Compute for the remaining balance after
the operation (balance = balance - withdrawn)
2. Deposit
* Input the amount to be deposited. Compute for the updated balance after
the operation (balance = balance + deposit)
3. Balance Check
* Display the remaining balance.
Use the following method names: withdraw, deposit, checkBalance
Containing the code and 4 image files (Sample, Sample2, Sample3 and Sample4) containing different sample input/output of the program.
Thank you God bless! hope you could help me :)
![Sample Input/Output:
Depicted below are sample outputs when the program is executed (the items in bold
characters are input from the user, while the items in bold italic are calculated and
printed by the program):
-ATM--
1. Withdraw
2. Deposit
3. Check Balance
4. EXIT
Choose operation: 1
Enter amount to be withdrawn: 1000
Collect your money
Check Balance? 1. Yes 0. No: 1
Balance: 4000
-ATM-
1. Withdraw
2. Deposit
3. Check Balance
4. EXIT
Choose operation: 2
Enter amount you want to deposit: 500
Check Balance? 1. Yes 0. No: 0
-ATM-
1. Withdraw
2. Deposit
3. Check Balance
4. EXIT
Choose operation: 3
Balance: 4500
-ATM-
1. Withdraw
2. Deposit
3. Check Balance
4. EXIT
Choose operation:1
Enter amount to be withdrawn: 6000
Insufficient Balance
Check Balance? 1. Yes 0. No: 1
Balance: 4500](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F3f10e839-3993-4775-b1d0-dd7958083333%2F11fe28c5-e430-40d0-8591-0518eaecc665%2Fyc0w77a_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 2 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)