Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mortgage math



I am in a class learning java. I am a new beanie. I am trying to figure out how to calculate hard coded values. Is there a class that already has the mortgage calculation in it? Math.pow?

======

public class mortgage {
public static void main(String[] arguments) {
int term = 360; //length of loan in months
int mortgage = 200000; //mortgage amount
double rate = 5.75; // percentage rate of loan
System.out.println("A mortgage payment on $200000 at 5.75% for 30 years is ");
}

}


=======


Brian Lackey email@hidden Fort Collins, CO

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.