write a Java program to input the principal amount rate of interest, number of years. Calculate and print the simple Interstate ( SI = PTR / 100)
Pls answer fast it's urgent
Don't spam ❌
Answers
Answered by
1
Explanation:
import java. util. Scanner;
class si
{
public static void main (String args[])
{
Scanner sc= new Scanner (System. in);
System. out. println("Enter principal amount,rate of interest and no of years");
int p = sc. nextInt();
int r = sc. nextInt();
int t = sc. nextInt();
int si = p*r*t/100;
}
}
Similar questions