To find the Simple Interest from the given Details
/* TO FIND SIMPLE INTEREST
*/
public class Interest
{
public static void main(String args[])
{
int p=10;
int t=12;
int r=43;
int si;
double interest;
si=p*t*r/100;
System.out.println("Simple Interest is"+si);
}
}
No comments:
Post a Comment