Question: Write a Java program to calculate the Simple Interest using Scanner class. You can use the formula to calculate Simple Interest as , SI =

Write a Java program to calculate the Simple Interest using Scanner class.
You can use the formula to calculate Simple Interest as,
SI =(Pnr)/100 OR SI = Pnr
Using Scanner class get the values for the following variables:
P stands for Principal or Amount ( datatype int or double)
n stands for number of years ( datatype int or double)
r stands for rate of interest ( datatype int or double)
Then calculate the Simple Interest according to the formulae mentioned above and print the Simpel Interest.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!