Computer Science, asked by Samahali, 8 months ago

Write a program to calculate Simple Interest by entering required values from the user using scanner class.

Answers

Answered by sarveshmor6039
1

Explanation:

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