Compute and display the monthly payment

Assignment Help JAVA Programming
Reference no: EM13768974

The 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.

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.

Reference no: EM13768974

Questions Cloud

Analysis and findings on george montgomerys usb drive : Please compose a report on your computer forensic analysis and findings on George Montgomery's USB drive
Evaluation of long term investment opportunities : As a financial consultant, you have contracted with Wheel Industries to evaluate their procedures involving the evaluation of long term investment opportunities.
Determine its cost of debt : Sixth Fourth's Bank is trying to determine its cost of debt. The firm has a debt issue outstanding with nine years to maturity that is quoted at 105 percent of face value. The issue makes semiannual payments and has an embedded cost of 4.1 percent an..
Conduct an internet search of cyber crimes : Conduct an Internet search of cyber crimes. Find a cyber crime, a crime where a computer is used to commit a majority of the crime that has occurred in the last three months
Compute and display the monthly payment : Compute and display the monthly payment -  programming problem can be solved by a program that performs three basic tasks-Input Data, Process Data, and Output Results.
Select an article from a magazine or newspaper : Select an article from a magazine or newspaper that has something in it that pertains to biology. This will serve as the "target article" for this assignment. For instance, you can select an article about medicine, invasive species, nature, conservat..
What is the probability the service technician will have : A service call has just come in, but the type of malfunction is unknown. It is 3.00 P.M. and service technicians usually get off at 5:00 P.M. What is the probability the service technician will have to work overtime to fix the machine?
How to validate a new forensics software package : Procedure on How to Validate a New Forensics Software Package. You are developing a policy and procedure on how to properly verify a new forensics software package
Elements of graeter marketing mix : 1. What are the elements of Graeter's marketing mix? Which are most likely to be affected by external forces in the marketing environment?

Reviews

Write a Review

JAVA Programming Questions & Answers

  The api for this class ispublic void poweronnbsp sets the

the api for this class ispublic void poweronnbsp sets the machine ready to serve the selected ice creampublic void

  Calculate the percentage wins of a team

Write a program that will calculate the percentage wins of a team. The program will input the number of wins and losses that a team acquired during a season. The wins should be input in a parameter-less value returning function that returns the wi..

  Build a very straightforward and fully functional machine

Build a very straightforward and fully functional machine learning classifier with the K-Nearest Neighbor (KNN) algorithm. The KNN model will read a set of data specified by the user, decide the appropriate class of the new instance, and finally o..

  Compute the temperature in centigrade

Compute the temperature in Centigrade - Display the temperatures in both Centrigrade and Fahrenheit with appropriate labels, using the + operator to concatenate the labels with the variables

  Your program should ask the user to input a grade

Your program should ask the user to input a grade (integer from 1-100) and then output the letter grade.

  Approximate the volume of cheese in a rectangular hunk

You will create a program that will approximate the volume of cheese in a rectangular hunk of Swiss cheese. For this approximation you will assume that the holes in the Swiss cheese are of two types: spherical bubbles (all of the same size) or cyl..

  Write java statements to create a collection of integers

Write Java statements to create a collection of integers, and to initialize each element of the collection to -1. Then, using for each statement to print the value of each element.

  The department of community affair- jail report

The Department of Community Affairs (DCA) for the State of Georgia performs many functions including gathering statistics and doing research. DCA provides a monthly jail report that provides some interesting information about jails in the state.

  Write a java program called calctickets

write a java program called CalcTickets that prompts (asks) the user to enter a ticket number. The format of a valid ticket is C[C]DDDDD[C][C]

  Write jvm program which accepts rpn expression

Write down the IJVM program which accepts RPN expression, with each operand and operator entered line by line. As each number (operand) is entered, push it on stack.

  Multiple choice java programming questions

Determine which of the following may be a violation of information hiding if inserted for the comment above?

  What are the benefits of documenting

What are the benefits of documenting our programs in Java?

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