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

  Display a table of values

Using Netbeans, use repetition to display a table of values showing x, the square of x and the cube of x. X is to go up to 5.

  Prepare a point class that represents points

Prepare a Point class that represents points on an x, y axis. The data members should be doubles x and y plus an int value called count that represents the number of points presently instantiated

  Identify the first character of the name and lengthof length

Write a Java application that stores the names of your family and friends in a one-dimensional array of Strings. The program should show all names in upper case and lower case, identify the first character of the name, and the lengths of the names.

  Write a method compact that removes all zeroes

Write a program that reads a text file (compact.txt) and stores the integers in an array.  Your instructor will provide this text file.

  Java program to declares integer array

Write a complete Java program to declares integer array, intArray, and initialize it to {1, 2, 3, 4, 5, 6, 7}.

  Create the html form and call the servlet to print out

1. write a calculator Servlet that adds, subtract, multiples and divides. Create the html form and call the servlet to print out the answer

  Write a program that uses a dynamic list of strings

Write a program that uses a dynamic list of strings to keep track of a list of chores that you have to accomplish today.

  Application for an animal-fur trimming service

Create an application for an animal-fur trimming service. Write the code for the application. Prompt the user to indicate how many animals. Display the total fee for one year. Be pleasant in your output as it will be expensive.

  Calculate the maximum data rate in mb/second

b)How much cylinder skew is needed for an Oceangate disk operating at 20,000 rpm(new series for the Christmas promotions) which has a seek time of 0.5 milliseconds? This disk has 800 sectors of 512 bytes each on each track.

  The commission employee inherits

The Commission Employee inherits from the Employee class. A Commission Employee contains a commission rate and a sales amount variable which are used as part of the pay calculation. An explicit value constructor should be provided to set all 3 val..

  Class diagram represents the relationship between parents

Draw a class diagram that represents the relationship between parents, children, and grandparents. Take into account that a person can have both a parent and a child. Annotate associations with roles and multiplicities.

  Java gui application

Assume the existence of the following Java GUI application. There are two text fields for user input. The first JTextField variable is named radius and is used to input a radius value.

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