Title Reporting the Total Hours Each Employee Worked (Case 2)
Catalog Type SLCItem
Persistent ID https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/files_j_work_hours__68bdb309f6cc3d7a9cc0986b?index=1
Platform Name PCEX
Features
Description Suppose we have an input file that contains information about how many hours each employee of a company has worked. The file looks like the following (Employee's identification number, Employee's name, Hours): 101 Erica 7.5 8.5 10.25 8 8.5 783 Erin 10.5 11.5 12 11 10.75 114 Simone 8 8 8 ... Construct a program that reads this file and calculates the total number of hours worked by each individual. Make sure that the program handles each specific exception that could occur.
Keywords file i/o
Author Mohammad Hassany
Institution University of Pittsburgh
Iframe URL https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/files_j_work_hours__68bdb309f6cc3d7a9cc0986b?index=1
Protocol SPLICE, HTML, PITT
Protocol URL
License MIT
Programming Language Java
Natural Language en

Preview

SPLICE Output