Write a BASIC Program to READ Principal, Time and
Simple Interest and display the Rate.
Answers
Answered by
0
Explanation:
import java.util.*;
class interest
{
public static void main()
{
Scanner sc =new Scanner(System.in);
int p;int r; int t; doulble SI;
p=sc.nextInt();
r=sc.nextInt();
t=sc.nextInt();
SI=(p*r*t)/100;
System.out.println("Interest="+SI);
}
}
Similar questions