Question: please help with the actual code i am having problems with mine Write a java program named totals that reads an input file named input1.txt,
Write a java program named totals that reads an input file named "input1.txt", where each line in the file contains an employees id (int), hours worked (int), and rate of pay (double). the input file looks like this: For each employee, the progran wal1 do the reasewang: 1) Calculate the wages as hours tinen rate. 2) Caledinte the withbolding tax as 114 ot the waged. 3) Calculate the net pay an wages minun withholding tax. 4) Print the 1D, beurs, wages, whthholding tax, and net pay- The progran will also colselate and print the total houra, toral mages, and total net pay. total net pay. The eutgot of thin piregran should look enactly 11ke thin
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
