Question: My ATM (100 points) To answer this question, please create an application called MyATM which includes the foll

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: 899604
Joined: Mon Aug 02, 2021 8:13 am

Question: My ATM (100 points) To answer this question, please create an application called MyATM which includes the foll

Post by answerhappygod »

Question: My ATM (100 points) To answer this question,
please create an application called MyATM which includes the
following features:
1) The ATM should have an “Account” label and showing a positive
default value. In the following example, the default value is 3000.
You can have your own default value.
2) Add “Money in Hand” label showing the money you have in your
pocket.
3) Add a button called “Withdraw”. A sample view layout is shown
below (Please make sure all UI widgets are placed at reasonable
place, do not place them randomly):
Question My Atm 100 Points To Answer This Question Please Create An Application Called Myatm Which Includes The Foll 1
Question My Atm 100 Points To Answer This Question Please Create An Application Called Myatm Which Includes The Foll 1 (63.95 KiB) Viewed 36 times
4) When the “Withdraw” button is clicked, the value from “Bank
Account” will be subtracted by 1000, and the value “Money In Hand”
will be increased by 1000. Thus, you need to create a new class
called “Withdraw.java” to handle the withdraw functionality. Note
that the user can only perform the withdraw operation when the bank
account holds at least 1000.
5) Add another button called “Deposit” next to the “Withdraw”
button and when it is clicked the value in “Bank Account” will be
increased by 1000 and the “Money In Hand” will be decreased by
1000. Note that you need to also provide Deposit.java and handling
similar issue that the withdraw function has.
6) Add a spinner anywhere on the screen for allowing user to
change the withdraw and deposit value. For example, if a user
selects 500 and clicks on the deposit or the withdraw button, the
money exchange will be based on 500 instead of 1000. Note that the
spinner should have at least 3 values. Name your program MyATM.
4:17 AM No SIM card 4 100% 4:18 AM No SIM card 4 100% MyATM MyATM Account: 3000 Account: 2000 Money In Hand: 0 Money In Hand: 1000 DEPOSIT WITHDRAW DEPOSIT WITHDRAW
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply