Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Text file: Your program needs to read in the employees daily hours, how many hours he or she has worked for the week, calculate the

image text in transcribed

image text in transcribed

Text file:

image text in transcribed

Your program needs to read in the employees daily hours, how many hours he or she has worked for the week, calculate the gross pay, and calculate the net pay. Each employee's pay rate is 7.50 and each employee pays the federal tax rate of 10%. For each employee, print the pay rate, total hours worked, gross pay and net pay. Requirements: name the program TwoDProgram, name the data file twoDdata.txt, and name the output file twoDpayroll.txt Make sure to adhere to the requirements, submit your program, and verify your results. Sample of twoDdata.txt: employees The first item in the file specifies how many Sample of output: WNP Employee Rate 7.50 7.50 7.50 7.50 Total Hours Worked 17 19 20 19 Gross Pay Net Pay 127.50 114.75 142.50 128.25 150.00 135.00 142.50 128.25 + 5 + 6 H + N 9

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

More Books

Students also viewed these Databases questions

Question

3. identify different types of attentional focus,

Answered: 1 week ago

Question

Why We Listen?

Answered: 1 week ago