import java.util.*;
class Simple_Interest
{
public static void main(String args[])
{
Scanner in=new Scanner(System.in);
double SI,P,R,T;
System.out.println("Enter The Principal, Rate and Time");
P=in.nextDouble();
R=in.nextDouble();
T=in.nextDouble();
SI=(P*R*T)/100.0;
System.out.println("The Simple Interest= "+SI);
}
}
No comments:
Post a Comment