Question: Write a program to calculate the balance and minimum payment for a credit card statement. Your program should be a single .PHP file, with a

Write a program to calculate the balance and minimum payment for a credit card statement. Your program should be a single .PHP file, with a CSS file for styling. Do not print anything in the results window if any of the inputs were left blank Your program should start off the value property of the textboxes with the previously entered data, if there was any. This month's interest is the old balance times 1.5% The new balance can be calculated as: Old balance + this month's interest - this month's charges + this month's credits If the new balance is less than $20, the minimum payment is equal to the entire new balance. If the new balance is over $20, then the minimum payment is equal to $20, plus 10% of the amount of the new balance above $20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
