Using the information in the table below write a program


Assignment

The following programming problem can be solved by a program that performs three basic tasks (Input Data, Process Data, Output Results) along with selection and repetition coding techniques. Starting with the program you created in Programming Project 1 and using RAPTOR, design a suitable program to solve this problem.

Problem Statement

A finance company provides loans for motorcycles at different rates depending on how much the total loan amount is and how many payments will be made on the loan. Using the information in the table below, write a program that will calculate the monthly payment based on user inputs of loan amount and number of monthly payments. The user will NOT input the percentage rate, as this will be determined by the program code based on user input of loan amount and number of payments. The output will display the loan amount, number of payments, monthly payments and the interest rate of the loan. Use a loop to allow users to enter as many sets of data as desired. At the end of each loop, ask the user if he or she would like to Exit the program (Y for Yes or N for No). If yes, clear the variables and repeat the input, processing and output loop. If no, exit the program.

Problem Statement

Amount of Loan # ***** Payments Interest Rate Applied

$500 - $ 2,500 6-12 8%

13-36 10%

37-48 12%

$2,501 - $10,000 6-12 7%

13-36 8%

37-48 6%

$10,001 or above 6-12 5%

13-36 6%

37-48 7%

If the user enters data that is "out of bounds" (loan amount/number of payments below or above minimum/maximum in table), display an error message explaining the situation to the user and ask for the loan amount or number of payments (whichever one was out of bounds) again. Message Example: "We do not finance loans below $500."

You MUST use Modular Programming techniques by using Sub Modules (Sub Charts in RAPTOR) in your program. Your "main" module should not be very large.

Begin with the program you created in Programming Project 1. Modify the program so that it completes the additional tasks.

Other Requirements:

Documentation: Use the "Comments" feature to document each symbol in the flowchart. You do this by right-clicking the symbol and selecting "Comment." Be sure to identify the data type of each variable used. Be sure to explain what each formula does. Be sure to explain what each of the other symbols in the flowchart does in a comment.

Test and debug your Program: Create sample input data, run the program, then check your answers with a calculator or Excel. If something did not match up, then fix your program.

Program must execute and produce correct output.

Read this page again to be sure you covered all requirements.

See the Programming Project Rubric for grading principles.

Submission Instructions:

You must submit a Flowchart (from RAPTOR) file. Your RAPTOR file will be the .rap file created when you save your project.

Solution Preview :

Prepared by a verified Expert
Programming Languages: Using the information in the table below write a program
Reference No:- TGS01677145

Now Priced at $35 (50% Discount)

Recommended (93%)

Rated (4.5/5)