Computer Science

Calculate: This function must be called from main() from within the loop.
For each month, calculate the amount of interest to be paid that month (adding this into balance before calculating minimum payment), total of interest paid, amount of minimum payment due for the month, and updating new balance.
If the minimum payment is less than $15.00 then set it at $15.00 if you owe at least $15.00 or the minimum payment will be just what you owe if you owe less than $15.00.
Output: This function must be called from main() from within the loop. There needs to be a separate function to output the table heading. Also output the information input from the file.
There needs to be a separate function to output month, balance at the end of the month, interest paid that month, minimum payment for that month, and the sum of amount of interest paid so far.

  1. 👍 0
  2. 👎 0
  3. 👁 129

Respond to this Question

First Name

Your Response

Similar Questions

  1. Physics

    A pilot, whose mass is 91.0 kg, makes a loop-the-loop in a fast jet. Assume that the jet maintains a constant speed of 125 m/s and that the radius of the loop-the-loop is 0.478 km. What is the apparent weight that the pilot feels

  2. physics EM

    Shrinking Loop. A circular loop of flexible iron wire has an initial circumference of 167 cm, but its circumference is decreasing at a constant rate of 10.0 cm/s due to a tangential pull on the wire. The loop is in a constant

  3. Physics

    A small block of mass m = 1.3 kg slides, without friction, along the loop-the-loop track shown. The block starts from the point P a distance h = 54.0 m above the bottom of the loop of radius R = 19.0 m. What is the kinetic energy

  4. computer programming c++

    c++ program questoin A particular talent competition has 5 judges, each of whom awards a score between 0 and 10 to each performer. Fractional scores, such as 8.3, are allowed. A performer’s final score is determined by dropping

  1. physics

    A bead slides without friction around a loop-the-loop. The bead is released from a height h = 3.5R. A is at the highest point of the loop and R is the radius of the loop (a) What is its speed at point A? (b) How large is the

  2. physics

    A mass m = 76.0 kg slides on a frictionless track that has a drop, followed by a loop-the-loop with radius R = 19.7 m and finally a flat straight section at the same height as the center of the loop (19.7 m off the ground). Since

  3. physics

    A mass m = 88 kg slides on a frictionless track that has a drop, followed by a loop-the-loop with radius R = 15.5 m and finally a flat straight section at the same height as the center of the loop (15.5 m off the ground). Since

  4. physics

    A block of mass m is held against a spring of spring constant k which is compressed a distance Ax. On the shaded region (d = 2 m), there is a coefficient of kinetic friction = 0.3 microcontroller, which then applies the rest of

  1. PHYSICS

    A circular loop of flexible iron wire has an initial circumference of 168cm , but its circumference is decreasing at a constant rate of 15.0cm/s due to a tangential pull on the wire. The loop is in a constant uniform magnetic

  2. Physics

    A mass m = 85 kg slides on a frictionless track that has a drop, followed by a loop-the-loop with radius R = 19.2 m and finally a flat straight section at the same height as the center of the loop (19.2 m off the ground). Since

  3. JAVA PROGRAMMING

    "POWERS" Compute the power of a number given the base and exponent. Do three versions of this program using a while loop, a do-while loop and a for-loop. Introduction Please help..i don't know how to input this in java...please

  4. Physics

    A circular loop with 30 turns and area of 0.25 m2 rotates at 100 rad/s. The axis of rotation of the loop is perpendicular to the direction of the magnetic field of 0.04 Tesla. What is the maximum emf induced in the loop?

You can view more similar questions or ask a new question.