Hii.. I have written the sample program and attach the flowchart for the above.
LoanCalculator.java
import java.util.*;
public class LoanCalculator{
public static void main(String []args)
{
Scanner X = new Scanner(System.in);
double principal, rate, time, emi;
System.out.print("Enter amount of loan: ");
principal = X.nextFloat();
System.out.print("Enter intrest rate: ");
double rate1 = X.nextFloat();
for(int i=5;i<=30;i=i+5){
time = (double)i;
rate=rate1/(12*100);
time=time*12;
emi= (principal*rate*Math.pow(1+rate,time))/(Math.pow(1+rate,time)-1);
System.out.println("Number of years:"+i);
System.out.print("Monthly EMI is= "+emi+"\n");
System.out.println("Total amount after "+i+" years:"+(emi*time));
}
time = X.nextFloat();
}
}
Output:
Enter amount of loan: 100000
Enter intrest rate: 8.35
Number of years:5
Monthly EMI is= 2044.4313070761866
Total amount after 5 years:122665.8784245712
Number of years:10
Monthly EMI is= 1231.8489062681278
Total amount after 10 years:147821.86875217533
Number of years:15
Monthly EMI is= 975.9668064070171
Total amount after 15 years:175674.02515326306
Number of years:20
Monthly EMI is= 858.3529863355043
Total amount after 20 years:206004.71672052104
Number of years:25
Monthly EMI is= 795.1439677668612
Total amount after 25 years:238543.19033005837
Number of years:30
Monthly EMI is= 758.3082711422303
Total amount after 30 years:272990.9776112029
Please test the above and let me know any issues. Thank you. All the best.
Need pseudocode flowchart only! Please complete is question as a pseudocode and flowchart for Java. 12.5...
Program Specification: This project involves implementing a Java program that performs a calculation of payments associated with loans. The program shall allow a user to enter the following data: annual interest rate the loan (i.e. , number of years), and the loan amount. A GUI like the one below must be used. Loan Calculator Annual Interest Rate: Number of Years Loan Amount: Monthly Payment Total Payment Calculate When the user presses the calculate button, the monthly payment and total amount...
I need the pseudocode and python for the four attached problems: 1. (Chapter 5 - For Loop) Logic Technical College has a current tuition of $10,000 per year. Tuition is scheduled to increase by 5% each year. Using a FOR loop, design a program that calculates and displays the tuition each year for the next ten years, like so: The tuition for year 1 will be: 10500.00 The tuition for year 2 will be: 11025.00 ……….. (You, of course will...
6. Loan Calculator The e most common types of loans are mortgage loans, which are tinance the purchase of a house, and car loans. A loan consists of four com- L1 ponents--amount, interest rate, duration, and periodic payment. The purpose values of the other three components. prograrmming project is to calculate the value of any one of the components given the We will ascurme that the duration is in months, that interest (given as a percent) i gages typically have...
Hello. I am using a Java program, which is console-baed. Here is my question. Thank you. 1-1 Write a Java program, using appropriate methods and parameter passing, that obtains from the user the following items: a person’s age, the person’s gender (male or female), the person’s email address, and the person’s annual salary. The program should continue obtaining these details for as many people as the user wishes. As the data is obtained from the user validate the age to...
L You will only receive credit on the shels labell your You th or complete photocopy). You may Mathematics Map the origin them which you w ch You otherwiecie 3 Q008 Negative Amortization Negative amortization occurs when the principal balance on a loan (usually a morte) increases because the borrower's payments don't cover the total amount of interest that has accrued. Thomas decides to purchase a house that costs $294,000. The bank requires a 10% downpayment and will provide a...
I need help on question 3.
Time Value of Money Exercise: Question 1: Assume you deposit $700 every three months at ercent annual rate, compounded $700 every three months at a 6 percent am much will you have at the end of 20 years? Question 2: You borrow a five-year $13.000 loan with monthly percentage rate (APR) on the loan? 3,000 loan with monthly payments of $250. What is the annual Question 3: How much would you have to invest...
I need help on question 7.
Time Value of Money Exercise: Question 1: Assume you deposit $700 every three months at ercent annual rate, compounded $700 every three months at a 6 percent am much will you have at the end of 20 years? Question 2: You borrow a five-year $13.000 loan with monthly percentage rate (APR) on the loan? 3,000 loan with monthly payments of $250. What is the annual Question 3: How much would you have to invest...
I need help on question 8.
Time Value of Money Exercise: Question 1: Assume you deposit $700 every three months at ercent annual rate, compounded $700 every three months at a 6 percent am much will you have at the end of 20 years? Question 2: You borrow a five-year $13.000 loan with monthly percentage rate (APR) on the loan? 3,000 loan with monthly payments of $250. What is the annual Question 3: How much would you have to invest...
I need help on question 10.
Time Value of Money Exercise: Question 1: Assume you deposit $700 every three months at ercent annual rate, compounded $700 every three months at a 6 percent am much will you have at the end of 20 years? Question 2: You borrow a five-year $13.000 loan with monthly percentage rate (APR) on the loan? 3,000 loan with monthly payments of $250. What is the annual Question 3: How much would you have to invest...
I need help on question 9.
20 Time Value of Money Exercise: Question 1: Assume you deposit $700 every three months at a 6 percent annual rate, compounded quarterly. How much will you have at the end of 20 years? Question 2 You borrow a five-year $13,000 loan with monthly payments of $250. What is the annual percentage rate (APR) on the loan? Question 3: How much would you have to invest today to receive $50,000 in 10 years at...