Question: Use the following chart, to write a switch statement that assigns .10, .15, or .20 to interest , depending on the value in amount of
- Use the following chart, to write a switch statement that assigns .10, .15, or .20
to interest , depending on the value in amount of loan offered.
| Amount of loan offered | Interest |
| $5000 or $10000 | 10% |
| $15000 or $20000 | 15% |
| Otherwise | 20% |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
