View the step-by-step solution to:

Employee Wage Data Application Program 1) A small company is moving all its employee data to a computer. To make a smooth transition, a software...

I need help with my assignment. I have another attachment that goes with this one, if you agree to assist me.

Thank you!

Employee Wage Data Application Program 1) A small company is moving all its employee data to a computer. To make a smooth transition, a software program will permit the data entry personnel to enter data into a file. Design a program that writes the employees.dat file. The program should accept user input until the user indicates there are no more records to write. The Employees file contains four fields (see the Input File Description). The program will use the employee ID as criteria to determine a current employee. Validate the employee ID and employee wage fields per the requirements below. You may use any of the library functions presented in Chapter 6 of the textbook to assist in validation. Your validation routines should include error messages and allow the user to correct an input error. Use an array to hold the valid ID numbers. The Input File Description is the same for both programs. Program assumptions: Employee ID: May not be more than 10 characters long. The number must exist in the list of valid employee ID’s. Valid ID Numbers: RE49762358, PR156125, OF45461, RE68566547, PR156984 Employee Wage: The number may not be zero nor larger than $45.50. Program 2) Design a program that reads the contents of the employees.dat file and prints all the data within it. Format the report as designated in the Printer Spacing Chart below. The last name should print first followed by a comma, and then the first name. On the same line, the ID number should appear separated from the name by a few blank spaces (you may use TAB). Add more white space before displaying the employee’s wage. Use a priming read and the EOF function to determine when the last record has been read. Deliverables: Design the logic for both programs and submit the pseudocode. Submit all other appropriate documentation to complete these applications (hierarchy chart, internal documentation). Include IPO analysis for both programs (separate form for each) and all custom functions created for the programs (may use single form but indicate which program utilizes each function). A deskcheck is NOT required.
Background image of page 1
Sign up to view the entire interaction

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question