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
Explain the Continue statement - Computer Programming? This is alike to break but is encountered less frequently. It merely works within loops where its effect is to force an imm

Overview You will write a loadable kernel module. If you have an idea which you can convince me is a good idea that can not be done as a module, but only via direct modificatio

how do I change a existing formula with a new formula and it show the result

One of the main strengths of the Perl programming language are its powerful text manipulation features. In this assignment, you will put them to  use for writing a Perl program tha

Write a program to check whether a car will crash. There is an obstacle at a certain distance (say 100 m) and the car is travelling at a certain speed (try it with some different s

Can you provide help in solving error problems, with my matlab project?

MVC Architecture Model/view/controller (MVC) is a program structure, currently regarded an executive design used in program technological innovation. The design isolates "domain lo

do you solve questions of assigments?

Problem 1 Define the architecture of UNIX operating system with appropriate diagram Problem 2 Define the term inter-process communication. What are several approaches t

PLEASE HELP ME ORACLE PROGRAMING TRIGGER