Write a program that will calculate the monthly payment

Assignment Help Programming Languages
Reference no: EM131274371

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.

Reference no: EM131274371

Questions Cloud

Which ethical norm is the court showing it prefers : If you were charged with defending a pharmaceutical company, what would you advise the company to do to encourage a court in a future case to reject the learned intermediary doctrine?
Method for accessing an ehr application : How does client-server model differ from a SaaS model as a method for accessing an ehr application?
Compare the specific modulus for all three materials : A titanium alloy with a modulus of elasticity of 16 × 106 psi is used to make a 1000-lb part for a manned space vehicle.
Probable price increases on the movement of bakken : Does the probable price increases on the movement of Bakken crude justify economically reregulating the railroads? If so, to what extent?
Write a program that will calculate the monthly payment : 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.
Why does the court reject smyths comparison : Smyth wants the court to look at what happened to him regarding privacy and view any violations as comparable to violations of privacy related to urinalysis and/or personal property searches. Why does the court reject Smyth's comparison?
Improve the interactions of members and increase : Working with organizations to improve the interactions of members and increase productivity through collaborative behavior is an essential role of the organization development human resources specialist.
Identify a community problem in your area : Developing relationships within the community is essential to implementing change. Unfortunately, many times this does not occur. Why is this important part of the process often overlooked. Identify a community problem in your area. What are the ..
Developing a requirements specification for the mhc-pms : What viewpoints should be considered when developing a requirements specification for the MHC-PMS? What are likely to be the most important cross-cutting concerns?

Reviews

Write a Review

Programming Languages Questions & Answers

  Implement a query functionality to the catalogue

Implement a query functionality to the Catalogue. This will return a list of Albums that match a given criteria. We specify the criteria as a search rule (based on a very simple query language) that is executed against all the Genres and albums in..

  Develop program for concrete class in hierarchy

Develop program which reference objects of each concrete (non-abstract) class in hierarchy. Write down abstract method "display" which determines whether displayed shape is TwoDimensionalShape.

  Write program to test class-compute next month-s interest

Write the program to test class SavingsAccount. Instantiate two savingsAccount objects, saver1 and saver2, with balances of $2000.00 and $3000.00, respectively. Compute next month's interest and print new balances for both savers.

  Write script in unix to monitor creation of pdf in directory

Write script in unix which monitors creation of .pdf or PDF file in current directory. Every minute it must display list of these filenames created after previous display a list.

  Create program to calculate and display number of miles

Create a program to calculate and displays the number of miles per hour over the speed limit that a speeding driver was doing. The program should ask for the speed limit and the drivers speed.

  Write program which functions similarly to atm

Write program which functions similarly to the ATM. A user must be able to give their account number, choose whether they want to make a deposit or a withdrawal

  Explain one new concept learned about arrays

Explain one (1) new concept that you have learned about arrays and one (1) new concept that you have learned about loops as a result of reading the assigned article.

  Write program which translates letter grade into grade

Write a C++ program which translates the letter grade into a number grade. Letter grades are A B C D F, possibly followed by + or -. Their numeric values are 4, 3, 2, 1, and 0.

  Write prolog clauses to express the relationships

Write prolog clauses to express the relationships, given the parent relationship: grand-parent, sibling, cousin.

  Differences between a flat file and a relational database

What are some of the key differences between a flat file and a relational database?

  Program by bernstein-s conditions to get maximum parallelism

Restructure program by using Bernstein's conditions in order to get maximum parallelism between processes. Specify which of the three conditions is not satisfied.

  Write a prolog relation that returns a list

Write another relation (anything you want) that does something not performed above. Explain what your relation does.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd