Produce a hierarchy chart-a structured flowchart, Programming Languages

Produce a hierarchy chart, a structured flowchart, and a Pascal program (with appropriate comments) to generate the Sales Commission Report shown below. The commission for each sales person is calculated as 3% of sales (sales multiplied by 0.03).

Each sales person has a single input record with fields of SSN, Name, and their sales. Your program should assume an  unknown number of records and terminate the program after the last data record has been read.

Data for the program will consist of

Field Type Size Suggested Name ssn character 9 DRONE_ID (Hint: read as string not number.)

name character 18 DRONE_NAME

sales numeric 7,2 SALES

and will be in a file (PRG2-150.DAT) found in the DATA directory.

The printer layout form for the Sales Commission Report is

1930_program.png

Your HEADER module would resemble

procedure header;

begin

writeln(FileOut,Space(16),'SALES COMMISSION REPORT');

writeln(FileOut);

writeln(FileOut,'bbbSSN',Space(10),'SALESPERSON',Space(9),'SALESbbbbCOMMISSION');

writeln(FileOut)

end;

Posted Date: 3/9/2013 2:07:29 AM | Location : United States







Related Discussions:- Produce a hierarchy chart-a structured flowchart, Assignment Help, Ask Question on Produce a hierarchy chart-a structured flowchart, Get Answer, Expert's Help, Produce a hierarchy chart-a structured flowchart Discussions

Write discussion on Produce a hierarchy chart-a structured flowchart
Your posts are moderated
Related Questions
A charitable organization wants to design a special ATM machine to be used by needy people. The association supplies the needy person with a pin number to be able to use the ATM

how to rewrite C++ program the DNAStrand class (DNA Project) to instead store the nucleotide sequence in a dynamically-allocated array?

Redundant sequence identification: Given a set of k DNA sequences, S = { s 1, s 2, ... ,  s k } give an optimal algorithm to identify all sequences that are completely contained

Carnivorous Carla only eats pizza if it has at least three of the following ingredients: ham, pepperoni, salami, italian sausage, bacon. You have the function contains() to check w

Your program can be invoked with option: -d date, where date is entered in dd/mm/yyyy format. In this case, it must only print the following string: Found cookies expiring bef

The Lost Bay Software Coop purchased EnviroMeasurements, a small startup with a product, GreenStation, that measures pollen count and air quality. The company has ventured

Question: (a) Explain the concepts of Inheritance and Polymorphism in Lingo programming. (b) Write short descriptions on parent scripts and child objects in Lingo object

Using OOP,write a sample program to get the factorial of a number entered by a user

Write your own version of the strcmp function string_compare. Supply a main program that will test each of the 3 differing outcomes. int string_compare(char *s, char *t); retu

1.  Use mathematical induction to prove Whenever n is a positive integer. 2.  Use loop invariant to prove that the program for computing the sum of 1,...,n is correct.