Use the eclipse ide to develop a java program


Use the Eclipse IDE to develop a Java program to meet the following requirements.

You will need to develop a simple interest calculator with the following features:

The program should prompt the user to enter two values: The loan amount and the loan interest rate.
The program needs to perform validation on the two values that were entered.
The program needs to verify that the loan amount is greater than zero.
The program needs to verify that the interest grade is greater than zero and less than 1. The interest rate should be entered in decimal form (ex: .01 is 1% interest, .1 is 10% interest)
If either of these validations fail, the following calculation should not occur and an error message should printed for the user. 
The program should calculate the amount of interest owed in one year using the following formula: accrued interest = loan amount * interest rate.
The program should calculate the total amount of the loan with the accrued interest applied. You can assume that no payments were made on the loan. The following formula can be used to calculate this value: total loan amount = original loan amount + accrued interest
The program should print two values to the user. 
The program should print the amount of accrued interest. 
The program should print the total loan amount.
Print these values with a precision of 2 decimal places. 
The logic in the program should be thoroughly documented with comments

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Use the eclipse ide to develop a java program
Reference No:- TGS0115550

Expected delivery within 24 Hours