Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CIS 221 Module 5 (Ch6&13 PA) Employee Payroll Summary For this assignment, you will write a program that reads employee work data from a text

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
CIS 221 Module 5 (Ch6&13 PA) Employee Payroll Summary For this assignment, you will write a program that reads employee work data from a text file, and then calculates payroll information based on this file. (Make sure you read the last page with requirements.) The text file will contain one line of text for each employee. Each line consists of the follow ing data (delimited by tabs) I) 2) 3) 4) 5) 6) 7) employee's name employee's hourly wage rate hours worked Monday hours worked Tuesday hours worked Wednesday hours worked Thursday hours worked Friday For example, consider this text file 1e 2.2 3.3 Jones 12.50 4 Miller 20 Baker 15 Ahaad 11.50 4.5 9 Choi 6.s0 20 2 6.5 9 7.59 2.5 4 The employce Smith makes $10 per hour, and worked 8 hours on Monday, 8 on Tuesday, 8 on Wednesday, 8 on Thursday, and 10 on Friday. You can see similar data the other employees. Expected Behavior of your Program The following screen shots illustrate what your program should be able to do The program will repeatedly present a menu of options, as shown below choices: (z)ead employee data (p)rint employee payro11 (d) isplay an enployee by name find (h) igheat paid employee tind (1)ovest paid employee la)uit Please enter your choice: These are the only allowable options. If the user types anything other than r, p, d, h, I, or q you should print an error message, and again present the menu, like this: CIS 221 Module 5 (Ch6&13 PA) Employee Payroll Summary For this assignment, you will write a program that reads employee work data from a text file, and then calculates payroll information based on this file. (Make sure you read the last page with requirements.) The text file will contain one line of text for each employee. Each line consists of the follow ing data (delimited by tabs) I) 2) 3) 4) 5) 6) 7) employee's name employee's hourly wage rate hours worked Monday hours worked Tuesday hours worked Wednesday hours worked Thursday hours worked Friday For example, consider this text file 1e 2.2 3.3 Jones 12.50 4 Miller 20 Baker 15 Ahaad 11.50 4.5 9 Choi 6.s0 20 2 6.5 9 7.59 2.5 4 The employce Smith makes $10 per hour, and worked 8 hours on Monday, 8 on Tuesday, 8 on Wednesday, 8 on Thursday, and 10 on Friday. You can see similar data the other employees. Expected Behavior of your Program The following screen shots illustrate what your program should be able to do The program will repeatedly present a menu of options, as shown below choices: (z)ead employee data (p)rint employee payro11 (d) isplay an enployee by name find (h) igheat paid employee tind (1)ovest paid employee la)uit Please enter your choice: These are the only allowable options. If the user types anything other than r, p, d, h, I, or q you should print an error message, and again present the menu, like this

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transactions On Large Scale Data And Knowledge Centered Systems Xxviii Special Issue On Database And Expert Systems Applications Lncs 9940

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Qimin Chen

1st Edition

3662534541, 978-3662534540

More Books

Students also viewed these Databases questions

Question

3. What might you have done differently

Answered: 1 week ago

Question

4. Did you rethink your decision?

Answered: 1 week ago

Question

3. Did you seek anyones advice?

Answered: 1 week ago