944,144 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 13331
  • Java RSS
Dec 3rd, 2006
0

java program to calculate simple interest

Expand Post »
Hi,

im very new to java. i would appreciate if some one can help me out with a Java program to calculate simple interest.

Thanks in advance
regards
krishna
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
skrish79 is offline Offline
1 posts
since Dec 2006
Dec 3rd, 2006
0

Re: java program to calculate simple interest

What exactly do you have trouble with?
We're not here to write your program for you, only to help you with specific questions about details where you're stuck.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Dec 9th, 2006
0

Re: java program to calculate simple interest

use formula

simple_int=principle*rate_of_interest*no_of_yrs;
Reputation Points: 10
Solved Threads: 0
Newbie Poster
s_khardenavis is offline Offline
3 posts
since Dec 2006
Feb 11th, 2007
-1

Re: java program to calculate simple interest

Yes, like s_khardenavis said, you can use take the input of the user for p, principal, for r, rate of interest, then for t, time, and then display i, which is prt, or p*r*t.
Reputation Points: 118
Solved Threads: 30
Posting Shark
linux is offline Offline
931 posts
since Aug 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: actionPerformed and exceptions help?
Next Thread in Java Forum Timeline: Random number generator





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC