Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

In this file write a Java program to solve the following problem: A file named loanBalance.txt contains numeric values that represent the balance of...

In this file write a Java program to solve the following problem:

A file named loanBalance.txt contains numeric values that represent the balance of home loans for

customers of a bank. The loan balance for each customer is on a separate line within the file. Example data

from the file might be similar to:

65340.50

43892.00

38102.95

89820.75

106530.60

Your Java program must read the file into an appropriate array - you may assume that the file exists. The array should be

sized to store 500 loan balances but keep in mind that the file may not contain 500 loan balances.

after reading the file into the array calculate and display the average of the loan balances from the

array.

After reading the file into the array determine and display the largest loan balance from the array.

use appropriate methods and parameter passing.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question