Answered step by step
Verified Expert Solution
Link Copied!

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

imageimage

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... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Managerial Accounting

Authors: Ray H. Garrison, Eric W. Noreen, Peter C. Brewer

12th Edition

978-0073526706, 9780073526706

More Books

Students also viewed these Programming questions

Question

Could this be a case of a classically conditioned phobia?

Answered: 1 week ago

Question

Explain the difference between a product cost and a period cost.

Answered: 1 week ago