Answered step by step
Verified Expert Solution
Question
1 Approved Answer
intro to programming 10th edition. 10E-credit card payment Write a program to calculate the balance and minimum payment for a credit card statement. See Fig
intro to programming 10th edition. 10E-credit card payment Write a program to calculate the balance and minimum payment for a credit card statement. See Fig 5.27. The program should use the event procedure shown u=in Fig 5.28.
9. Pauy Raise Write a pay-raise program that requests a person's firs current annual salary, and then displays the person's salary for name, last na ing less than $40,000 wil!receive a 5% raise, and those earninnex receive a ruise of $2.000 plus 29% of the amount over $40,000. Us input and output, and a Function procedure to calculate ea 222Chapter 5 General Procedures ew salary. See Fig, 5 calculate the new salary. See Fit e Credit Card Old balance: 200 Pay Raise Credits: 100 First name John Last name: Doe Curnent selery 48000 Charges: 150 Calculate New Bal. and Min. Payment New belance: $25300 Minimum payment: 943.30 Display New Salary New salay for John Doe: $50,160.00 FIGURE 5.30 Possible outcome of Exercise FIGURE 5.29 Outcome of Exercise 9. 10. Credit Card Payment Write a program to calculate the balance and mi paymer for a credit card statement. See Fig. 5.30. The program should use the event shown in Fig. 5.31 The finance charge is 1.5% of the old balance. If the new balance $20 or less, the minimum payment should be the entire new balance. Otherwise, the mitn mum payment should be $20 plus 10% of the amount of the new balance above $20. Private Sub btncalculate click(.. .) Handles btncalculate.Click Dim o1dBalance, charges, InputData (oldBalance, charges, credits) calculateNexValues (oldBalance, charges, credits, newBalance, minPayment) DisplayData (newBalance, minPayment) credits, newBalance, minPayment As Decimal End Sub FIGURE 5.31 Event procedure for Exercise 10. 11. Mortgage Calculations Write a program to calculate three monthly values with a mortgage. See Fig. 5.33 on the next page. The program sho cedure shown in Fig. 5.32. The interest paid each month is the montnly c the m (annual Rate of Interest /12) applied to the balance at the beginning Each month the reduction of principal equals the monthly payment mount required to pay off the motgage. The end of month balance is beginning of month balance] [reduction of principal At any time, the balance of the mortgage is the amount still oweuh eulaed y rate of interes of the minus the int Private Sub btnCalculate n alance is calculated DiStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started