Question: My ATM (100 points) To answer this question, please create an application called MyATM which...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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. 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.
Expert Answer:
Answer rating: 100% (QA)
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... View the full answer
Related Book For
Managerial Accounting
ISBN: 9780073526706
12th Edition
Authors: Ray H. Garrison, Eric W. Noreen, Peter C. Brewer
Posted Date:
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Write a version of Gambler that uses two nested while loops or two nested for loops instead of a while loop inside a for loop.
-
Selected data from the comparative statements of financial position of Rioux Ltd. are shown below: (a) Using horizontal analysis, calculate the percentage of a base-year amount, assuming 2016 is the...
-
At a small but growing airport, the local airline company is purchasing a new tractor for a tractor-trailer train to bring luggage to and from the airplanes. A new mechanized luggage system will be...
-
If you had been treated with respect, this would never have happened, would it?
-
Carlton Company is involved in four separate industries. The following information is available for each of the four industries. Instructions Determine which of the operating segments are reportable...
-
KORBIN COMPANY Comparative Balance Sheets December 31 Assets Current assets Long-term investments Plant assets, net Total assets Liabilities and Equity Current liabilities Common stock Other paid-in...
-
1. Suppose Siscos altercation occurred while he was en route to his house during an unpaid one-hour lunch break. Would Sisco still be eligible for compensation? Why or why not? 2. Would Sisco have...
-
The lattice constant of silicon is 5.43. Calculate the volume density of silicon atoms. (Ans. S x 102" cm3)
-
A2A SpA is an Italian utility firm. Its most recent dividend was 0.013 per share. In the past year, the company has experienced financial difficulties and the share price has dropped by more than 20...
-
An investment project has annual cash inflows of 20,000, 35,400, 48,000 and 54,500, and a discount rate of 14 per cent. What is the discounted payback period for these cash flows if the initial cost...
-
Consider four different equities, all of which have a required return of 15 per cent and a most recent dividend of 4.00 per share. Equities W, X and Y are expected to maintain constant growth rates...
-
What are the main elements of corporate finance? How might these elements relate to typical family life?
-
What is the profitability index, and how is it calculated? Discuss the main applications of the profitability index in capital budgeting. When is it most useful and what are its weaknesses? What is...
-
In the following two independent cases, the company closes its books on December 31: 1.Marin Inc. sells $2.17 million of 8% bonds on March 1, 2020. The bonds pay interest on September 1 and March 1....
-
For a nonzero constant a, find the intercepts of the graph of (x 2 + y 2 ) 2 = a 2 (x 2 - y 2 ). Then test for symmetry with respect to the x-axis, the y-axis, and the origin.
-
Blueline Tours, Inc., operates tours throughout the United States. A study has indicated that some of the tours are not profitable, and consideration is being given to dropping these tours to improve...
-
Refer to the data for Kalox, Inc., in Exercise 4-11. Required: Assume that the company uses the FIFO method of accounting for units and costs. 1. Compute the equivalent units for Mays activity for...
-
Explain the difference between a product cost and a period cost.
-
Go to the PMI Web site and examine the link Membership. What do you discover when you begin navigating among the various chapters and cooperative organizations associated with the PMI? How does this...
-
Go to http://www.pmi.org/business-solutions/casestudies and examine some of the cases included on the Web page. What do they suggest about the challenges of managing projects successfully? The...
-
Using your favorite search engine (Google, Yahoo!, etc.), type in the keywords project and project management. Randomly select three of the links that come up on the screen. Summarize what you find.
Study smarter with the SolutionInn App