Question: Java program This activity is designed to give you a chance to practice your data reading. Here is the data file that you will need:

Java program

This activity is designed to give you a chance to practice your data reading. Here is the data file that you will need: NameWageInfo.datPreview the document This file is a set of first names followed by the number of hours that they worked followed by their hourly wage. Example; Kim 40.0 12.5 I want you to write a program that will take each person, read their name, hours, and wage and output what their paycheck for the week should be. So using the example above I should see. Kim should receive $500.00 this week. Now because each line is a single person, but the data is the same on every line, you have the choice of doing this token by token or by using a hybrid line approach, it is up to you. But you need to read one line of the data, calculate the salary, and then print it out, repeating for each person. File - NameWageInfo.dat: Kim 40.0 12.5 Sue 36.5 15.75 James 45 11.5 Alex 33.5 12.30 Sam 24.5 12.8 Jordan 45 13.75 Morgan 24 25.60 Rory 22.5 15.00 Taylor 6 120.1 Rei 33 44.00

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!