Application to calculate weekly payment of a company, Computer Engineering

Assignment Help:

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.


Related Discussions:- Application to calculate weekly payment of a company

Define the time required by sector to reach below read/write, is the time r...

is the time required by a sector to reach below read/write head. Latency Time is the time needed by a sector to reach below read/write head.

Determine the disadvantages of fact finding, Determine the Disadvantages of...

Determine the Disadvantages of fact finding -  People are usually uncomfortable being watched and may work in a different way -  What they are watching may not be represent

Logic gates required to build a half adder, What are the gates required to ...

What are the gates required to build a half adder ? Ans. The gates needed to build a half adder are EX-OR gate and AND gate as shown below the logic diagram of half adder:

Why is segmented paging important, Why is segmented paging important (as co...

Why is segmented paging important (as compared to a paging system)? Paging can be super-imposed upon a segment oriented addressing mechanism to acquire efficient use of the mem

War (write after read) - data hazards , WAR (write after read) - Data hazar...

WAR (write after read) - Data hazards in computer architecture: WAR (write after read) - j tries to write at destination before it is read by i , hence i  wrongly gets the n

Software estimation, Software Estimation The statement of scope helps t...

Software Estimation The statement of scope helps the planner to established estimates using one or more method which fail into two wide categories: empirical modeling and decom

Accessing the operands - assembly language, Accessing the Operands: ...

Accessing the Operands: operands are usually place in one of two places: -registers (32 int, 32 fp) -memory (232locations) registers are -simple to spe

Invoke on the dataadapter control, Which method do you invoke on the DataAd...

Which method do you invoke on the DataAdapter control to load  your generated dataset with data? DataAdapter.Fill(ds). The beauty of this method is it automatically implicitly

Differentiate between adaptive and non-adaptive routing, Differentiate betw...

Differentiate between adaptive and non-adaptive routing. Adaptive routing defines the ability of a system, by which routes are characterised through their destination, to cha

Write Your Message!

Captcha
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