IN JAVA - OOP Input File ---------- employee.csv - employee number, last name, first name, middle name, rate trans.csv - employee number, in, out Output File ----------- comptrans.csv - employee...


IN JAVA - OOP



Input File
----------
employee.csv - employee number, last name, first name, middle name, rate


trans.csv - employee number, in, out


Output File
-----------
comptrans.csv - employee number, total hours, overtime, pay


1. Open the two input files for reading. Use the statement below to convert each
   line read to an array:


   String[] objEmployee = strLine.split(",")


2. Compute for the following:


   total hours = out - in
   overtime = total hours - 8
   pay = total hours * (rate + 15%)


3. Write to the output file only those employees with transaction and display the
   following on screen:


   Employee number  Full name                    in    out  total overtime  pay
   ---------------  --------------------------   ---   ---  ----- --------  ---
   xxxxxx           last, first middle initial


trans - Excel<br>File<br>Home Insert Page Layou Formulas Data Review V<br>- 11<br>BIU- A A<br>Calibri<br>%<br>Paste<br>Alignment Number<br>Clipboard<br>Font<br>E5<br>A<br>D<br>1 E0010027<br>2 E0050078<br>3 E0050087<br>4 E0070061<br>6.3<br>14<br>16.5<br>7.3<br>16.45<br>5.5<br>2.05<br>5 E0080095<br>8.02<br>16<br>B.<br>

Extracted text: trans - Excel File Home Insert Page Layou Formulas Data Review V - 11 BIU- A A Calibri % Paste Alignment Number Clipboard Font E5 A D 1 E0010027 2 E0050078 3 E0050087 4 E0070061 6.3 14 16.5 7.3 16.45 5.5 2.05 5 E0080095 8.02 16 B.
employee - Excel<br>Home Insert Page Layou Formulas Data Revie<br>File<br>Calibri<br>11<br>%<br>BIU -<br>A A<br>Paste<br>Alignment Number<br>A-<br>Clipboard a<br>Font<br>M17<br>fe<br>A<br>B<br>D<br>E<br>1 E0010023 Crisostom<br>2 E0010027 Bernardo Jay<br>3 E0030034 Garcia<br>4 E0050078 Librador Charmaigı Arnulfo<br>5 E0050087 Lander<br>6 E0070054 Meno<br>7 E0070061 Menandrc Jenny<br>14 Galvez<br>Ongpin<br>Rodolfo Mejia<br>Vera<br>Perez<br>Arvie<br>|Тораcio<br>Corpuz<br>8 E0080070 Nono<br>Grace<br>Picache<br>9 E0080095 Patricio<br>Luzvimind Pelaez<br>

Extracted text: employee - Excel Home Insert Page Layou Formulas Data Revie File Calibri 11 % BIU - A A Paste Alignment Number A- Clipboard a Font M17 fe A B D E 1 E0010023 Crisostom 2 E0010027 Bernardo Jay 3 E0030034 Garcia 4 E0050078 Librador Charmaigı Arnulfo 5 E0050087 Lander 6 E0070054 Meno 7 E0070061 Menandrc Jenny 14 Galvez Ongpin Rodolfo Mejia Vera Perez Arvie |Тораcio Corpuz 8 E0080070 Nono Grace Picache 9 E0080095 Patricio Luzvimind Pelaez

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here