Review the example IPO below. Open Flowgorithm and save with the required naming conventions in the “Lab Task Checklist” and remember to enter your Program Attributes. Use Flowgorithm to create the algorithm meeting the customer requirements Make sure you are using the correct datatype Use prompts to describe required input before asking for input Test using the IPO test cases and document the test case in your code as comments. Display a welcoming message and a purpose statement Display an End of job message and your name Processing will require: A counter for month An accumulator for balance *hint: initialize with the loan amount Logic to ensure the last month reflects a 0 balance and not a negative number (see month 11 example in render). A message with the Original Loan Amount before end of program.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
  1. Review the customer requirements

Customer Requirements:  The customer needs an application that creates a report telling how many months it will take to pay of a loan given a loan payment.

The application will accept a client’s loan amount and monthly payment amount.  It will then output the customer’s loan balance each month until the loan is paid off.  The report should not have any negative numbers (the final month should reflect a balance of $0).

Display the month and remaining balance for each month until paid off. In addition, the program should display what the original loan amount was.

 

 

 

 

  1. Review the example IPO below.
  2. Open Flowgorithm and save with the required naming conventions in the “Lab Task Checklist” and remember to enter your Program Attributes.
  3. Use Flowgorithm to create the algorithm meeting the customer requirements
  4. Make sure you are using the correct datatype
  5. Use prompts to describe required input before asking for input
  6. Test using the IPO test cases and document the test case in your code as comments.
  7. Display a welcoming message and a purpose statement
  8. Display an End of job message and your name
  9. Processing will require:
    1. A counter for month
    2. An accumulator for balance *hint: initialize with the loan amount
    3. Logic to ensure the last month reflects a 0 balance and not a negative number (see month 11 example in render).
    4. A message with the Original Loan Amount before end of program.

 

 

 

Input, Processing and Output:

 

Input

Processing

Output

Variables:

 

 

Loan Amount

Planned monthly payment

 

 

Get loan amount

Get planned monthly payment

 

Assign counter

Assign original loan amount

Test for balance

Calculate new balance

Keep track of month

Test for 0 balance

 

Welcome message

Prompt: loan amount, and monthly payment

Result: month and balance for each month

Original Loan amount

End of Program message

Test Data

T1: LA = 1001 Pymt = 100… 11 months till 0.

T2: LA =2079.50 Pymt = 231.20…9 months till 0

T3: LA = 4000 Pymt 250…16 months till 0

 

 

 

 

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 5 images

Blurred answer
Knowledge Booster
Concept of Flowchart
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education