Write a preliminary version of the program

Assignment Help C/C++ Programming
Reference no: EM13936901

You have just purchased a stereo system that costs $1000 on the following credit plan: no down payment, an interest rate of 18% per year (and hence 1.5% per month), and monthly payments of $50. The monthly payment of $50 is used to pay the interest, and whatever is left is used to pay part of the remaining debt. Hence, the first month you pay 1.5% of $1000 in interest. That is $15 in interest. The remaining $35 is deducted from your debt, which leaves you with a debt of $965.00. The next month you pay interest of 1.5% of $965.00, which is $14.48. Hence, you can deduct $35.52 (which is $50-$14.48) from the amount you owe.

Write a C++ program that will tell you how many months it will take you to pay off the loan, as well as the total amount of interest paid over the life of the loan. Use a loop to calculate the amount of interest and the size of the debt after each month.

The final program need not output the monthly amount of interest paid and remaining debt, but you may want to write a preliminary version of the program that does output these values.

The last payment may be less than $50 if the debt is small, but do not forget the interest. If you owe $50, then your monthly payment of $50 will not pay off your debt, although it will come close. One month's interest on $50 is only 75 cents.

Reference no: EM13936901

Questions Cloud

List five major features of jit production systems : List five major features of JIT production systems. Describe how JIT systems affect product costing. Companies adopting backflush costing often meet three conditions. Describe these three conditions.
Opportunities present in the current market : Step 1: Overview This section is about the client and the opportunities present in the current market. This also includes how your company can achieve those goals.
Use of replacement workers during the patco strike : 1. Do you believe that the use of replacement workers during the PATCO strike as well as other strikes is equitable?  Support your answer.2. What do you see as the lingering effects of this practice?
What is meant by the term clone : What is meant by the term "clone"? Why is it important to obtain large quantities of a particular DNA sequence? List the steps you would take to obtain a clone of a DNA sequence.
Write a preliminary version of the program : The last payment may be less than $50 if the debt is small, but do not forget the interest. If you owe $50, then your monthly payment of $50 will not pay off your debt, although it will come close. One month's interest on $50 is only 75 cents.
Why an organisation finds it cost-effective to make smaller : Name two cost factors that can explain why an organisation finds it cost-effective to make smaller and more frequent purchase orders.
Tactics likely to affect the subsequent decisions : Once a consumer has used a deal-a-day site, how are learning choice tactics likely to affect their subsequent decisions?
Create a c++ binary search tree : Create a C++ Binary Search Tree that will accept integers in this order: 35, 18, 48, 72, 60, 25. Ask user for input and search tree utilizing integer input. Return "True" if input integer is found or "False" if it is not found in tree.
Proposal to angel investors : Write a summary of your proposed initiative addressing the following (3.75 marks each): What your innovation is about

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Program to store lists of names and ages in parallel arrays

Write a C++ program that stores lists of names (the last name first) and ages in parallel arrays and sorts the names into alphabetical order keeping the ages with the correct names.

  The authors of the book do a very thorough job explaining

the authors of the book do a very thorough job explaining simpletons operation and encourage you to take a look at what

  C code christmas assignment

C code Christmas assignment. We are supposed to create a record generating programme that will accept user information and output student information (student grade, highest and lowest grade, pass or fail status). Must be done in modular form,..

  Find the average of four 16-bit unsigned integers

Write a program (starting at address $4000) to find the average of four 16-bit unsigned integers stored at locations $5000, $5002, $5004 and $5006 and store the 16-bit result at location $5010.

  Write a program to calculate the volume flow rate

Write a program to calculate the volume flow rate in cubic feet per second of water flowing through a pipe of diameter d in inches and a velocity of v feet per second.

  A program that takes into account a pre given array

Problem: A program that takes into account a pregiven array and prompts the user to enter a return per minute value.

  Program to compute surface area of sphere using function

Write down a program in C++ to compute surface area of sphere using a function. As sample run, write down the surface areas of spheres with radii.

  Write a program that asks the user to enter two numbers

Write a program that asks the user to enter two numbers. The program should use the conditional operator to find which number is the smaller and which is the larger.

  Display the largest and smallest numbers entered

Design a java program with a loop that lets the user enter a series of numbers - After all the numbers have been entered, the program should display the largest and smallest numbers entered.

  Write a program to check the number

Write a program that asks the user to enter an integer from 1 to 50

  Write file-oriented c program that maintain a list of names

Write an interactive, file-oriented C program that will maintain a list of names, addresses and telephone numbers in alphabetical order (by last names). Process the information associated with each name as a separate record.

  We have to deal with student pilots

We have to deal with student pilots and airplanes. Students have a unique student id, a name, and a year that students are in. Airplanes have a unique airplane id, model, a cruising range

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd