write a program to calculate simple interest using scanner class
Answers
Answered by
2
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 : ");
make me as brinliest please please.....
Similar questions