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
WRITE A FORTRAN PROGRAMME TO GENERATE PRIME NUMBERS BETWEEN 1 AND 100.

Expertsmind brings you  unique  solution in java assignments Just in Time Compiler In processing, just-in-time system (JIT), also known as energetic interpretation, is a m

#1. Every mathematics student likes primes numbers. Every mathematics student like parabolas. Let''s put them together to have some fun: Consider two natural numbers a and b. Of co

#question.what. is cai? Explain its pitfalls .o

Question 1 How will you add styles to a document? Question2 How will you view XML in different ways? Question 3 Explain various file handling mechanism available in PERL

The following function calls supposedly write a single new-line character, but some are incorrect. Identify which calls don't work and explain why.     printf("%c", '\n');

question 1: In the opening lecture I spoke about general changes in business - flatter organizations, process orientation as opposed to functional silos, focus on supply chains, gr



Architecture and Components The .NET Framework 3.5 The .NET Structure (pronounced dot net) is an application framework that works generally on Enthusiasm Microsoft windows. It has