subject

Write a program to calculate the credit card balance after one year if a person only pays the minimum monthly payment required by the credit card company each month. the following variables contain values as described below: balance - the outstanding balance on the credit card annualinterestrate - annual interest rate as a decimal monthlypaymentrate - minimum monthly payment rate as a decimal for each month, calculate statements on the monthly payment and remaining balance. at the end of 12 months, print out the remaining balance. be sure to print out no more than two decimal digits of accuracy - so print remaining balance: 813.41 instead of remaining balance: 813.4141998135 so your program only prints out one thing: the remaining balance at the end of the year in the format: remaining balance: 4784.0 a summary of the required math is found below: monthly interest rate= (annual interest rate) / 12.0 minimum monthly payment = (minimum monthly payment rate) x (previous balance) monthly unpaid balance = (previous balance) - (minimum monthly payment) updated balance each month = (monthly unpaid balance) + (monthly interest rate x monthly unpaid balance)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:20
Pp 4.1 design and implement a class called sphere that contains instance data that represents the sphere’s diameter. define the sphere constructor to accept and initialize the diameter and include getter and setter methods for the diameter. include methods that calculate and return the volume and surface area of the sphere (see pp 3.5 for the formulas). include a tostring method that returns a one-line description of the sphere. create a driver class called multisphere, whose main method instantiates and updates several sphere objects.
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Which one of the following is the most accurate definition of technology? a electronic tools that improve functionality b electronic tools that provide entertainment or practical value c any type of tool that serves a practical function d any type of tool that enhances communication
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Acloud service provider uses the internet to deliver a computing environment for developing, running, and managing software applications. which cloud service model does the provider offer? a. iaas b. caas c. maas d. paas e. saas
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Which of the following would not be considered a pc? a. mainframe b. desktop c. tablet pc d. laptop
Answers: 2
You know the right answer?
Write a program to calculate the credit card balance after one year if a person only pays the minimu...
Questions
question
Mathematics, 27.06.2019 18:00
question
English, 27.06.2019 18:00
question
English, 27.06.2019 18:00
question
Mathematics, 27.06.2019 18:00