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.

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter5: The Repetition Structure
Section: Chapter Questions
Problem 19E
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
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L