Write a program to calculate the balance and the minimum payment for a credit ca
ID: 444568 • Letter: W
Question
Write a program to calculate the balance and the minimum payment for a credit card statement. The grogram should use the event procedure shown below. The finance charge is 1.5% of the old balnce. if the new balance is $20 or less, the minimum payment should be the entire new balance. Otherwise, the minimum payment should be $20 plus 10% of the amount of the new balance about $20.
private sub btncalculate_cick(...) handles btncalculate.click
dim old balance, charges, credits, newbalance, minpayment as double
inputdata(oldbalance, charges, credits)
calculateNewValues(oldbaance, charges, credits, newbalance, minpayment)
displaydata(newbalance, minpayment)