Employee wage data application

Assignment Help Programming Languages
Reference no: EM13753712

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.

Reference no: EM13753712

Questions Cloud

A main cause for the rise of mass culture in the us : a main cause for the rise of mass culture in the United States?
Explain your experiences as an immigrant to america : Write a 700- to 1,050-word first-person description of your experiences as an immigrant to America in the late 19th or early 20th century.
Focus in conceiving and designing great products : Steve Jobs believed in Simplicity and in Focus in conceiving and designing great products. Discuss pros and cons
Create a 2d array of randomly generated ints : Write a complete Java class that will create a 2D array of randomly generated ints that of size 5 rows and 10 columns. Print the values of each cell to a 5x10 table.
Employee wage data application : 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
Identify the psychological and social factors : Identify the psychological and social factors, such as motives, perception, attitudes, personality, family, social class, and reference groups, that influence consumer behavior toward your product or service.
Analysis of tfc financial statements : Determine two (2) strategies that TFC could utilize to reach its expansion goals. You may, for example, consider your analysis of TFC's financial statements, as well as your knowledge of TFC's excessive cash position. Provide a rationale for your ..
Essay on queen victoria was most influential british monarch : Create an eight to twelve page essay arguing that Queen Victoria was the most influential British Monarch. Summarize her life both politically and personally.
Write a program to display the customer''s name : Write a program that prompts the salesperson for the name of the customer and the price of the textbooks sold to that customer.• The program should display the customer's name and the total compensation

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd