Answer to Question #301870 in Java | JSP | JSF for reaper

Question #301870

Sanchez Construction Loan Co. makes loans of up to R100,000 for construction projects. There are two categories of Loans—those to businesses and those to individual applicants. Write an application that tracks all new construction loans. The application also must calculate the total amount owed at the due date (original loan amount + loan fee). The application should include the following classes: 


1
Expert's answer
2022-02-23T15:02:38-0500
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("Number of loans:");
        double[] loans = new double[in.nextInt()];
        for (int i = 0; i < loans.length; i++) {
            loans[i] = in.nextDouble();
        }
        System.out.println("Totals:");
        for (int i = 0; i < loans.length; i++) {
            System.out.println(loans[i] * 1.07);
        }
    }
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS