Write a program to calculate the balance and minimum payment for a credit card s
ID: 3929138 • Letter: W
Question
Write a program to calculate the balance and minimum payment for a credit card statement. the program should use the event procedure shown in fig 5.31. The finance charge is 1.5% of the old balance. 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 above $20.
Private Sub btnCalculate_Click(...) Handles btnCalculate.Click
Dim oldBalance, charges, credits, newBalance, minPayment As Decimal
InputData (oldBalance, charges, credits)
CalculateNewValues (oldBalance, charges, credits, newBalance, minPayment)
DisplayData (newBalance, minPayment)
End Sub