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 16:00
If f(x)=x^3 and g(x)=2x+7 when g(x)=-5
Answers: 2
question
Mathematics, 21.06.2019 17:00
16. you're planning to buy a boat, a motor, and some miscellaneous boating equipment. the boat costs $325, the motor costs $225, and the equipment costs $79. if you've saved $438 toward these purchases, how much more do you need to save? a. $181 b. $281 c. $291 d. $191
Answers: 3
question
Mathematics, 21.06.2019 18:30
Use the four functions below for this question. compare and contrast these four functions using complete sentences focus on the slope and y- intercept first, and then on any additional properties of each function
Answers: 3
question
Mathematics, 21.06.2019 19:30
Which graph represents the equation y =4x
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
Health, 16.06.2021 18:30
question
Mathematics, 16.06.2021 18:30
question
Mathematics, 16.06.2021 18:30
Questions on the website: 13722363