Question: Using a text editor or word processor, create a text file holding a series of surnames and payroll numbers (at least five of each). For
Using a text editor or word processor, create a text file holding a series of surnames and payroll numbers (at least five of each). For example:

Now write a Java program that uses a while loop to read values from the above text file and displays then in a table under the headings ‘Surname’ and ‘Payroll No.’. (Don’t be too concerned about precise alignment of the columns.).
Smith 123456 Jones 987654 Jenkins 555555
Step by Step Solution
3.31 Rating (154 Votes )
There are 3 Steps involved in it
To achieve this you can create a Java program that reads the values from th... View full answer
Get step-by-step solutions from verified subject matter experts
