Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedintro 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 Di

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Explain the various elements of a diverse workforce.

Answered: 1 week ago

Question

Differentiate. y = e(p + pp)

Answered: 1 week ago