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

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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