Loan Modification - Free Foreclosure Help - Help Stop Foreclosure » Stop Foreclosure - Promote your business - requires 30 posts in other sections in order to Post » Find a Mortgage Broker » How to create mortgage code in Java?

Short Sale    Loan Modification    Loss Mitigation Training    Short Sales Training
Reply
  #1 (permalink)  
Old 11-08-2010, 09:36 AM
Junior Member
 
Join Date: Nov 2010
Posts: 1
Default How to create mortgage code in Java?

Design and implement a program that calculates and displays the mortgage payment amount given the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. In first iteration of the program, hard code the principal equals 200,000 dollars, the term equals 30 years, and the annual interest rate equals 5.75 percent./* Title: Mortgage Description: This program will calculate the mortgage: - Amount - Terms - Interest - use methods Author: Date: 11/07/2010 Version: 1.0*///importing java packagesimport java.text.DecimalFormat;//class declarationpublic class mortgage{ //Main method //Every Java program must have this public static void main(String args[]) {// Declare and construct variablesdouble interest,payment;int ammount,term;DecimalFormat decimalPlaces=new DecimalFormat("0.00");/*Below is the hard coded values used to calculate themonthly mortgage payment. */interest=.0475; //The interest percentage is 4.75%.ammount=400000; //The principle of the loan is $400,000.term=30; //The term of the loan is 30 years.// This is the formula uedpayment=(ammount*((interest/12)/(1-Ma
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old 11-08-2010, 11:10 AM
Junior Member
 
Join Date: Nov 2010
Posts: 1
Default

Yahoo answers isn't your human coding machine.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:52 AM.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd. Free Foreclosure Help