Create a program that will calculate the monthly payment

Assignment Help Programming Languages
Reference no: EM131321656

Assignment

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 Continue 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. NEVER call "main" from inside your program. Use a loop that keeps your program running.

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. Again, NEVER call "main" from inside your program. Also, do not use "recursion" in this program (submodules that call themselves). You are only allowed to use looping techniques to repeat sections of your submodules.

Reference no: EM131321656

Questions Cloud

Wave function into a modulated wave : Devise a system for converting a monochromatic optical wave with complex wave function into a modulated wave of complex wave function by use of an acousto-opticcell with an acoustic wave . Hint:Consider the use of upshifted and downshifted Bragg r..
Discuss three most common sources of virus infections : In this chapter, we did not discuss the likely sources of computer viruses. Discuss four most likely sources of computer viruses.
Arguments for and against the use of animals in research : What are the arguments for and against the use of animals in research? What steps are taken to ensure the health and welfare of research animals?
Aluminum calorimeter cup containing : What will be the equilibrium temperature when a 215 g block of copper at 245 °C is placed in a 155 g aluminum calorimeter cup containing 855 g of water at 13.0 °C?
Create 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.
What role do the accountants play in risk management : What role do the accountants play in risk management - Why is it important to hire accountants that understand the unique needs of a healthcare organization?
How research have violated principles of ethical behavior : How the research may have violated principles of ethical behavior, and what, if any, alternative research methods for testing the research hypothesis might have been used:
Describe how a virus is moved on the internet : What are the difficulties faced by a community that wants to filter the Internet content?
What is mcdonaldization : What is McDonaldization? What are some examples of McDonaldization given in the book?What are some of the advantages of McDonaldization? Discuss efficiency, calculability, predictability, and control.What is rationality and how does it relate to Rit..

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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