Programming and Problem Solving With C++
Programming and Problem Solving With C++
6th Edition
ISBN: 9781449694265
Author: Nell Dale
Publisher: Jones & Bartlett Learning
bartleby

Concept explainers

Question
Book Icon
Chapter 4, Problem 5CSF
Program Plan Intro

Program Plan:

  1. Declarefloat type variablesloanAmount, yearlyInterest, monthlyInterest and payment declared.
  2. Declareint type variable numberOf Years, numberOfPayments declared.
  3. Ask user to enter loan amount, yearly interest and number of years.
  4. Based on the entered values calculate the monthly interest and store it variable monthlyInterest. Similarly calculate number of payments and payments.
  5. Display loan amount, yearly interest, number of years and payment.

Program Description:

The program is modified version of mortgage program which prompts and reads variables from the user.

Blurred answer
Students have asked these similar questions
I am stuck on how to write the actual program for this
Output Formatting with Numbers and Columns and Loops (with C++) Write a program that converts the temperatures 1 to 20 from Celsius to Fahrenheit and Kelvin, The output should look like this:
Create a program with these result of input and output
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr