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 specification of a function TOARR is given below. function TOARR(n in Int, s in Stack of Int) return in Array of Int pre n ≥ 0. post The returned value is an array of size

Type of Linear Programming - DEA The Express Dry Cleaners currently has four locations in the Chicago area and willing be opening the fifth in the very near future.  Mr. James,

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

How do you get the complexity of an algorithm? What is the relation b/w the time & space complexities of an algorithm? Justify your answer with an example.

i am stuck on array part from getting response of jquery. anyone could help?

Access Modifiers Convenience Modifiers or we can say (Access Specifies) identifies as the opportunity of accessibility of an Item and its associates. All C# kinds and kind associat

Difference between java and j2ee programming In the basic form, the phrase java is placed as a selection terminology. On the other hand, the phrase J2EE is placed as a renderin

Show that we can represent pairs of nonnegative integers using only numbers and arithmetic operations if we represent the pair a and b as the integer that is the product 2 a 3 b .

Return a new picture with each pixel''s color values made up of 80% of the color values of the corresponding pixel in the first picture and 20% of the color values of the

Consider a system that has the following UML models: Use Case for CalculateTotalProjectCost Trigger: End of each month Normal Flow of Events For each project in the pro