Purchase Solution

Input Output Files

Not what you're looking for?

Ask Custom Question

Please assist writing a program to read a text file and create a payroll register. The register will contain this data:
Employee(print left-justified)
Department
Pay Rate
Exempt
Hours worked
Base pay(pay rate * hours worked)
Overtime pay (for nonexempt employees. An employee is exempt if Y appears in the exempt column. Overtime is paid at time and one half for all hours worked over 40)
Total pay.

So I did the text file and it's in a table. I started the input output file and I get an error. I'm not sure what else I have to do.

Purchase this Solution

Solution Summary

The solution creates a payroll register.

Solution Preview

I tested you program and found you problem:
You cannot use the input file as the output file at the same, this is because when you do like ...

Purchase this Solution


Free BrainMass Quizzes
Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Basic Networking Questions

This quiz consists of some basic networking questions.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.