Write a program is Java to calculate and print the Simple Interest, where the Principle, Rate and Time should be defined in the program.
Answers
Answered by
0
Answer:
public class Main{
public static void main (String [ ] args){
int p = 2500;
int r = 7;
int t = 2;
int i = (p*r*t)/100;
System.out.println("SI is " + i);
}
}
Pls mark as brainliest
Similar questions