Produce a hierarchy chart-a structured flowchart, Programming Languages

Assignment Help:

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;


Related Discussions:- Produce a hierarchy chart-a structured flowchart

Implement a lunar lander simulation, 1. Modify your solution to #8 so that ...

1. Modify your solution to #8 so that if an ellipse is touched by the mouse, it turns permanently green.Bonus (up to +5): a green ellipse stops moving, but recovers after 5 seconds

Assignment, Assignment for Networing&camunication

Assignment for Networing&camunication

Explain the while statement - computer programming, Explain the While State...

Explain the While Statement - Computer Programming? A 'while statement' is an entry controlled loop statement. When the expression is calculated and the condition is not satisf

Java, what is the difference between class and interface

what is the difference between class and interface

Web services information language, Web Services Information Language WCF is...

Web Services Information Language WCF is designed using assistance focused structure concepts to support allocated processing where solutions have distant customers. Customers can

Write a program to handle a book collection, Write a program to handle a bo...

Write a program to handle a book collection. The data on each book might be title, author, publication date, book number and  cataloging details. Allow for adding or deleting books

Create c sharp classes needed to track creature viability, P4's goal is to ...

P4's goal is to design the C# classes needed to track creature viability in a MMO game under development .  Part I: Class design 1)  GameCreature class (with derived ty

Program converts character array to signed decimal integer, 1. Write a func...

1. Write a function that converts a character array to a signed decimal integer. Function prototype must be as follows: int asciiToInt( char *str, unsigned char* eflag) YOU MAY NO

Introduction to javascript, This is the programming language of the Web. It...

This is the programming language of the Web. It is mainly used for validating forms. JavaScript & Java can be associated to each other. There exist several other differences betwee

What is an authentication subsystem, Question: (i) All Security authen...

Question: (i) All Security authentication mechanism that run on the TRU64 Unix Operating system run under the Security Integration Architecture (SIA ) layer. Explain with di

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd