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

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 16:30, haleylecompte
Mexico city, mexico, is the world's second largest metropolis and is also one of its fastest-growing cities with a projected growth rate of 3.2% per year. its population in 1991 was 20,899,000 people. use the formula p = 20.899e0.032t to predict its population p in millions with t equal to the number of years after 1991. what is the predicted population to the nearest thousand of mexico city for the year 2010?
Answers: 2
image
Mathematics, 21.06.2019 16:30, tleppek6245
Can someone me with this problem . show your work .
Answers: 1
image
Mathematics, 21.06.2019 19:20, ayoismeisalex
What is x3+3x2−16x−48 divided by x−1?
Answers: 1
image
Mathematics, 21.06.2019 22:30, sanociahnoel
Ibeg you to me 20. a reaction produces 4.93 l of oxygen, but was supposed to produce 1 mol of oxygen. what is the percent yield?
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 in other subjects:

Konu
Social Studies, 17.10.2019 00:30