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

Recommended Answers

All 3 Replies

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.

use formula

simple_int=principle*rate_of_interest*no_of_yrs;

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.

commented: Shameless ! ! ! Opening 4 or more weeks old post to just repeat what other said before. +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.