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. Please put your name on the top of your paper.