Reference no: EM13164605
Design a modular algorithm (flowchart and pseudo-code), code (C#) and test (desk check and test plan) a solution to solve the following problem:
A company wants to see a printout of the gross payroll for each of its 7 departments. The output should be a list of the seven departments and the total gross payroll (rate times hours) for each department. Be sure to validate the input data. If a line of data is invalid print out an error message along with the invalid data, then continue processing with the next record.
The file containing the employee data that will be used for the calculations is structured as follows:
FIELD DESCRIPTION DATA TYPE VALID VALUES
Employee ID Character Non blank
Department Number Numeric 1 - 7
Hourly Salary Numeric at least 10.00
Hours Worked Numeric greater than 0
The fields in each record will be separated by a comma.
For example: EID001, 2, 15.50, 40
The code to implement a state diagram to recognize
: The code to implement a state diagram to recognize one form of the comments of the C-based programming languages, those begin with /* and end with */.
|
Comparison of 3 mobile operating systems in user interface
: comparison of three mobile operating systems in terms of user interface, functionality, application support and platform presence.
|
Use the getint and getintwithinrange methods
: Use the getInt and getIntWithinRange methods to validate that each score ranges from 1 through 100 and add code that discards any extra entries at the prompt that asks if you want to enter another score to the application below.
|
Containing all the genes in the dna sequence
: As described above plus an integer reference parameter, and return a dynamically-allocated array of strings containing all the genes in the DNA sequence. Each string in the array will contain a unique
|
A company wants to see a printout
: A company wants to see a printout of the gross payroll for each of its 7 departments. The output should be a list of the seven departments and the total gross payroll (rate times hours) for each department
|
Reads from the external file input.txt
: Program that reads from the external file input.txt, counts the letters in every word, replaces the word by that number, and then writes the numbers to an external file output.tx
|
Design a program that extends the definition of the class
: Design a program that extends the definition of the class JFrame to display a window on the screen. Name your class PropertyTax1, title your window "Calculation of Property Taxes," set the window's width to 400 pixels and height to 300 pixels, and te..
|
Program to keep track of the participants in a triathlon
: Create a program to keep track of the participants in a triathlon. Your program will keep track of the times in three events: Running, Swimming, and Biking. Your program will calculate who is the winner in the Male category and the Female category..
|
Write an abstract class carbon footprint
: Using an abstract class with only pure virtual functions, create three small classes unrelated by inheritance---clases Building, Car and Bicycle.
|