Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question: My ATM (100 points) To answer this question, please create an application called MyATM which includes the following features: 1) The ATM should
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): 4:17 AM MyATM Account: 3000 Money In Hand: 0 No SIM card 100% 4:18 AM DEPOSIT WITHDRAW No SIM card 100% MyATM Account: 2000 Money In Hand: 1000 DEPOSIT WITHDRAW 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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Solution Total answers posted by the expert is 29 usrbinpython import getpass import string import os creating a lists of users their pins and bank st...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started