Compute the monthly payment on a loan

Assignment Help Programming Languages
Reference no: EM131310452

James wants to buy a motorcycle

Instructions: The following programming problem can be solved by a program that performs three basic tasks-Input Data, Process Data, and Output Results. Use RAPTOR to design a suitable program to solve this problem.

Problem Statement

James wants to buy a motorcycle. Help James compute the monthly payment on a loan, given the loan amount, the annual percentage rate of interest, and the number of monthly payments. The program should allow James to input the loan amount, interest rate, and how many payments he wants to make. It should then compute and display the monthly payment.

You will need the following variables:

Payment

LoanAmt

InterestRate

MonthlyRate

NumberMonths

You will need the following formulas:

MonthlyRate = InterestRate/1200

Note: When the user enters InterestRate as a percentage, it must be divided by 100 to make it a decimal (i.e., 18% = 18/100 = 0.18). The InterestRate offered by motorcycle dealers is an annual rate, so this must be divided by 12 to get the MonthlyRate. The MonthlyRate formula given above combines the two steps (i.e., annual rate of 18% = 18/100 = 0.18 and the monthly rate is 0.18/12 = 0.015 or 18/(100*12) = 18/1200.

Payment = LoanAmt * MonthlyRate *

(1 + MonthlyRate)^NumberMonths ÷

((1 + MonthlyRate)^NumberMonths - 1)

Note: The Payment formula given above must be entered carefully and exactly as shown.

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.

Extra Credit: Use a Sub Module (Sub Chart in RAPTOR) to Declare and Initialize the variables used in the program.

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: EM131310452

Questions Cloud

Create your own java class that includes three data fields : Design your own Java Class that includes at least 3 data fields, 2 constructors and 4 methods. When designing your class, pick an object that you are familiar with and make it your own, realistic, yet simple design with reasonable data fields and ..
Describe the key activities that the cio should be engaged : List three positive and three negative impacts of social networking. In your opinion, determine whether the positive impacts outweigh the negative impacts for a company determined to increase company awareness. Describe the role of the CIO in rela..
Calculate the ratios along with the formula : Calculate the ratios along with the formula.- Under each calculation explain what the ratios indicate about the company's financial condition.
Write a java application to store pairs of unique colors : Write a Java application that effectively uses Java collections to store pairs of unique colors and their unique hexadecimal values. For example, "Red" -> "FF0000". Store at least 8 and up to 20 of these pairs.
Compute the monthly payment on a loan : James wants to buy a motorcycle. Help James compute the monthly payment on a loan, given the loan amount, the annual percentage rate of interest, and the number of monthly payments.
Display the name astext location x and y values of each pet : CMIS 320: Make the menagerieGIS database using petGIS.sql- Display the name, astext location, X and Y values of each pet. Display the pets with their location displayed in standard form of (X,Y). Display the pets in order of X coordinate by Y coordin..
Configure performance monitor efficiently : To configure performance monitor efficiently, it takes some understanding. What resources do you have available to you to learn more about the tool?
Summarize the different types of data storage technology : Compare and contrast the types and role of distributed software architecture.Discuss common input / output technologies.Summarize the different types of data storage technology.Use technology and information resources to research issues in enterprise..
Where do you think cpp and coding games in cpp is headed : Where do you think C++ and coding games in C++ is headed in the next five years? How about in the next 10 years? Do you think there are any significant improvements that need to be made to the code to ensure its stability in an ever-changing techn..

Reviews

Write a Review

Programming Languages Questions & Answers

  Problem on java programming

I have a text file located in the same folder with some various numbers, and it won't work. Thanks in advance.

  Write a program that reads a binary number from keyboard

Write a program that reads a 4-bit binary number from the keyboard as a string and then converts it into decimal. For example, if the input is 1100, theoutput should be 12.

  Use of various bash commands

Assignment On: This work will require scripting the use of various bash commands and / or small programs that involve directory and file structures.

  Write a script m-file called hw4

Write a script m-file called hw4.m. Label your solution to each exercise with a comment. Some of the exercises ask for additional script m-files that will be called from within hw4.m.

  Program to compute grade point average

Write a program that uses such a file to calculate your grade point average(GPA). A GPA is based on a scale from 5, where A is 4, B is 3, C is 2, D is 1 and F is 0.

  Research paper on repetition in visual basic

Write a 2 page research paper on Repetition in Visual Basic. Explain the concepts using at least one and list each resource used at the end of paper in the reference list section

  Write program which asks user for the url of a pdf file

Write a program which asks the user for the URL of a PDF file, checks that the URL starts with "http://" and ends with "pdf" or "PDF", downloads it with wget, and displays it with display.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Explain circumstances in which we can implement array

If you were describing the array to friend who is learning Java, how would you do so? Explain circumstances in which you could implement the array.

  Write a shell script to read from the keyboard

Write a shell script called poject. 21 to read from the keyboard and display on the monitor first name, last name and age if the age is less than 50. If the age is greater than 50, it will display your are over 5 instead of the age.

  Write a function that accepts temperature in degrees

write a function that accepts temperature in degrees fahrenheit degf andcomputes the corresponding value in degrees

  Write program to find whether number is divisible by eleven

Write down the program which prompts user to enter positive integar and then uses criterion to find out whether number is divisible by 11.

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