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

COA, During instruction execution, there are other parts of the CPU that ca...

During instruction execution, there are other parts of the CPU that can determine when a physical register might be freed. Briefly describe where else we can put freeing logic and

Addition of array elements using two processors, Q. Addition of array eleme...

Q. Addition of array elements using two processors? In this example we have to find sum of all elements of an array A of size n. We will divide n elements in 2 groups of roughl

Convert a JK flipflop to T type flipflop, With the help of a suitable diagr...

With the help of a suitable diagram, explain how do you convert a JK flipflop to T type flipflop. Ans. As here flip flop is JK flip flop and it is required to convert JK in T.

Size of scripts and libraries, Main script section ("Sub Main .. End Sub) a...

Main script section ("Sub Main .. End Sub) and function bodies should fit within an A4-page (approx. two monitor-pages). If the code doesn't fit it is a candidate to do more decoup

DATA DICTIONARY, DATA DICTIONARY ON ONLINE QUIZ SYSTEM

DATA DICTIONARY ON ONLINE QUIZ SYSTEM

What is a transaction, What is a transaction? A transaction is dialog ...

What is a transaction? A transaction is dialog program that alter data objects in a consistent way.

Set screen and leave screen, What happens if only one of the commands SET S...

What happens if only one of the commands SET SCREEN and LEAVE SCREEN is used without using the other? If we use SET SCREEN without LEAVE SCREEN, the program ends processing for

What are tri-state devices , why they are essential in a bus oriented syste...

why they are essential in a bus oriented system? Ans) In a multiplexed bus system, many devices are linked to a common bus. If 2 or more devices attempt to use the bus at the si

What is the use of inter process communication, What is the use of inter pr...

What is the use of inter process communication. Inter process communication gives a mechanism to allow the co-operating process to communicate with each other and synchronies t

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