Question: Design the logic (pseudocode or flowchart) for a program that gets as input your current credit card balance, the total dollar amount of new purchases,

Design the logic (pseudocode or flowchart) for a program that gets as input your current credit card balance, the total dollar amount of new purchases, and the total dollar amount of all payments. The algorithm computes the new balance, which this time includes an 8% interest charge on any unpaid balance below $100, 12% interest on any unpaid balance between $100 and $500, inclusive, and 16% on any unpaid balance above $500. Use named constants where applicable. Make sure to hand check your algorithm with input and expected output.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!