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 20:30
Daryl factors the polynomial p(x)=x3+x2−26x+24 to rewrite it as p(x)=(x+6)(x−4)(x−1). which equations must be true? there may be more than one correct answer. select all correct answers. p(1)=0 p(−4)=0 p(−1)=0 p(6)=0 p(4)=0 p(−6)=0
Answers: 1
question
Mathematics, 21.06.2019 23:30
Which of the following vectors are orthogonal to (2,1)? check all that apply
Answers: 1
question
Mathematics, 22.06.2019 00:00
Write the equation in general quadratic form: plz !
Answers: 1
question
Mathematics, 22.06.2019 01:30
Jahdzia wears her winter coat when the temperature is colder than -4 degrees celsius. write an inequality that is true only for temperatures (t) at which jahdzia wears her winter coat.
Answers: 3
You know the right answer?
• Option 1/ Bank account transaction program (It's very simple, think of this program as a program...
Questions
question
English, 07.11.2021 14:00
Questions on the website: 13722363