ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 05 May 2017 My Price 8.00

Modular Programming

instructions: 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.

Amount of Loan # of 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 aFlowchart (from RAPTOR)file. Your RAPTOR file will be the.rapfile created when you save your project.
  • Name the RAPTOR file (replacing LastName and FirstInitial with YOUR name):LastName_FirstInitial_Program1.rap(example:Smith_J_Program_2.rap).
  • Attach your file to your assignment submission upload. If you find that you made an error and want to resubmit before the due date, you may do so. However, only the LAST file uploaded by the due date will be graded.

Answers

(11)
Status NEW Posted 05 May 2017 04:05 AM My Price 8.00

-----------

Not Rated(0)