yee number, last name, first name, middle name, rate trans.csv - employee number, in, ou

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

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
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.
Transcribed Image 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
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
Transcribed Image 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
Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY