write my assignment 7797

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:






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


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

use appropriate methods and parameter passing.

"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

Comments are closed.

Hi there! Click one of our representatives below and we will get back to you as soon as possible.

Chat with us on WhatsApp