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, 20.06.2019 18:04
The price of a coat increased from $78 to $92. what is the price increase percentage?
Answers: 1
question
Mathematics, 21.06.2019 19:30
You deposit $5000 each year into an account earning 3% interest compounded annually. how much will you have in the account in 30 years?
Answers: 3
question
Mathematics, 21.06.2019 23:00
Solve for x: 5/3 x = 20/21 it's fraction. remember to simplify your fraction
Answers: 2
question
Mathematics, 21.06.2019 23:00
Rob filled 5 fewer plastic boxes with football cards than basketball cards. he filled 11 boxes with basketball cards.
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
Questions on the website: 13722361