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
Which fraction is not equivalent to 8/12 a. 2/3 b. 24/36 c. 4/10 d. 6/10
Answers: 1
question
Mathematics, 21.06.2019 18:30
Astick 2 m long is placed vertically at point b. the top of the stick is in line with the top of a tree as seen from point a, which is 3 m from the stick and 30 m from the tree. how tall is the tree?
Answers: 2
question
Mathematics, 21.06.2019 20:30
In an improper fraction, is the numerator equal to, less than, or greater than the denominator
Answers: 2
question
Mathematics, 22.06.2019 00:00
The construction of copying qpr is started below. the next step is to set the width of the compass to the length of ab. how does this step ensure that a new angle will be congruent to the original angle?
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, 26.08.2019 11:50
question
Social Studies, 26.08.2019 11:50