write a program to calculate the simple interest by given rate , time, principal (through scanner class)
Answers
Answered by
0
Answer:
Java Program to Find the Simple Interest
public class Simple_Interest.
float p, r, t;
Scanner s = new Scanner(System.
System. out. print("Enter the Principal : ");
p = s. nextFloat();
System. out. print("Enter the Rate of interest : ");
r = s. nextFloat();
System. out. print("Enter the Time period : ");
Similar questions