Application to calculate weekly payment of a company, Computer Engineering

Problem:

A company requires a software application to calculate the weekly payment for its employees. The information about the employees (employees' data) is kept in a file. Each line in the file contains the employee name and number, the pay rate and the number of hours worked in a week.

The application should provide the following functionalities:

  • Read the employee's data and verifies its validity (all numbers should be positive)
  • Calculate the employee's weekly pay
  • Print the employee's weekly pay together with the employee's data.

 

The pay rate for all the employees is £20.00 per hour when the working time is equal or less than 40 hours per week. For the time worked over this number of hours, the pay will be calculated doubling the actual time worked.

Solve this problem applying all the steps of a problem solving strategy (problem understanding, algorithm and testing). Present the algorithm as a structured flowchart and pseudocode. Make sure you apply all the good practice guidelines you were advised in presenting the algorithm.

Posted Date: 3/22/2013 1:53:21 AM | Location : United States







Related Discussions:- Application to calculate weekly payment of a company, Assignment Help, Ask Question on Application to calculate weekly payment of a company, Get Answer, Expert's Help, Application to calculate weekly payment of a company Discussions

Write discussion on Application to calculate weekly payment of a company
Your posts are moderated
Related Questions
Learning Weights in Perceptrons: Furthermore details are we will look at the learning method for weights in multi-layer networks next lecture. Thus the following description o

A circuit can be designed to perform manydifferent functions e.g.a circuit has 3 inputs A, B and C and 3 outputs:Output X is logic level 1 (or 'high') if one or moreinputs are at l

Secondary storage: Secondary storage (or external memory) differs from primary storage in that aspect it is not accessible by the CPU directly. The computer typically uses its

Floating gate Avalanche Injection MOS (FAMOS) transistor is used in every cell of EPROM.

how to write algorithum for unix progam

A staircase light is controlled by two switches one at the top of the stairs and another at the bottom of stairs a. Make a truth table for this system. b. Write the lo

Q. Define the Register Addressing mode? When operands are taken from registers implicitly or explicitly it is known as register addressing. These operands are termed as regis

Give difference between compiler and interpreter. Compiler: It is a translator for machine independent HLL as FORTRAN and COBOL etc. Interpreter: It analysis the source

Which method uses the greatest number of layers in the OSI model? Gateway utilizes the greatest number of layers into the OSI model.

Explain Non-Folded network Non-Folded Network: In a switching network, every inlet/outlet connection may be utilized for inter exchange transmission. In this case, the .excha