This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 2. Display current year 3. Display current savings 4. Calculate interest amount A. Interest amount equals current savings multiplied by percent interest 5. Display interest amount 6. Update current savings to be equal to itself added to interest amount 7. Display current savings again (this time as new savings) 8. Update counter to be next year TESTS Test Number Input Value Expected Output Actual Output 1 2018s New Savings: $1000 2 100 2018s New Savings: $2048000 3 50 2018s New Savings: $86498 4-1 Program Exits 5 101 Program Exits 6 2 2018s New Savings: $1243...
View Full Document
- Winter '08