subject
Mathematics, 22.05.2021 03:50 911782

• Option 1/ Bank account transaction program (It's very simple, think of this program as a program that deducts or adds value to a variable, just a little bit advanced)
1. This program includes bank account variable (with infinite while loop recommended)
2. It will ask the user if they want to 1 deposit or 2 withdraw (use if statements)
3. If the user inputs something other than 1 or 2, the loop will reset
4. If the user selects deposit, the program will add the value to the bank variable
5. If the user selects withdraw, the program will deduct the value from the bank variable
6. Whenever the user inputs an invalid number (like a negative, or withdraw is bigger than the bank variable amount, the
loop will do nothing and reset)
7. Since it's an infinite loop, the loop should never stop asking for deposit or withdrawal

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 18:00
Asquare has a perimeter of sixteen centimeters. what is the length of each of its sides? a. 8 cm c. 9 cm b. 4 cm d. 10 cm select the best answer from the choices
Answers: 2
question
Mathematics, 21.06.2019 19:30
Y=(x+3)(x-4)(x+1)^2 sulutions? multiplicity?
Answers: 1
question
Mathematics, 21.06.2019 19:30
In need of in the diagram, ∠abc is a right angle. ∠dbc = 30°27'40". find the measure of ∠abd.
Answers: 1
question
Mathematics, 21.06.2019 21:00
With both problems. a.s.a.p directions on photo ^
Answers: 1
You know the right answer?
• Option 1/ Bank account transaction program (It's very simple, think of this program as a program...
Questions
question
Mathematics, 23.05.2021 14:00
question
Business, 23.05.2021 14:00
question
Mathematics, 23.05.2021 14:00
Questions on the website: 13722362