Question: using python: Use input to prompt for these float values: beginning balance monthly deposits monthly withdrawals Using the assignment operators += and -=, calculate: ending
using python:
Use input to prompt for these float values:
- beginning balance
- monthly deposits
- monthly withdrawals
Using the assignment operators += and -=, calculate:
- ending balance
Note: failure to use assignment operators results in 2 point loss
Display results as
Ending balance is {ending balance}. where value in {} is the calculated values
Tests
| Input | Output | ||
| Begin Balance | Deposits | Withdrawals | |
| 1000 | 100 | 50 | ending balance is 1050 |
| 530.56 | 99.59 | 50 | ending balance is 580.15 |
Be sure to separate input from calculation from output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
