06488700 - time: 1900-2300 time: 0000-0500 time: 0600-1200...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Answers to PF Exam number :  06488700 Print chart: salesperson sales commissions time:  0000- 0500 time:  0600- 1200 time:  1300 -  1800 time:  1900- 2300 time:  0000- 0500 time:  0600- 1200 time:  1300 -  1800 time:  1900- 2300 Edwards Rogers Krybek Delaney LaFleur Smith Black CONT…
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
pseudocode: define variables: salesperson - text, 15 char salespersonID, month, day - short integer year, time - long integer
Background image of page 2
sale_amount, commission, AtimeSale, BtimeSale, CtimeSale, DtimeSale,  Acommission, Bcommission, Ccommission, Dcommission - real number sales entry module enter salespersonID, month, day, year, time, sale_amount if sale_amount <50000, commission = sale_amount*.04 if sale_amount >50000 and <=125000, commission = sale_amount*.05 if sale_amount >125000 and <=200000, commission = sale_amount*.06 if sale_amount >200000, commission = sale_amount*.07 time bracket report module  print  salesperson sales commissions salesperson  ID time:  0000- 0500 time:  0600- 1200 time:  1300 -  1800
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: time: 1900-2300 time: 0000-0500 time: 0600-1200 time: 1300 - 1800 time: 1900-2300 x = salespersonID for x = 103 to eol set time variables to zero:Atimesale, Btimesale, Ctimesale, Dtimesale, Acommission, Bcommission, Ccomission, Dcommission read salespersonID if salespersonID = x if time &lt;=0500, Atimesale = Atimesale + sale_amount; Acommission = Acommission + commission if time &gt;0500 and &lt;=1200, Btimesale = Btimesale + sale_amount Bcommission = Bcommission + commission if time &gt;1200 and &lt;=1800, Ctimesale = Ctimesale + sale_amount Ccommission = Ccommission + commission if time &gt;1800, Dtimesale = Dtimesale + sale_amount Dcommission = Dcommission + commission read next salespersonID get name from salespersonID print name, Atimesale, Btimesale, Ctimesale, Dtimesale, Acommission, Bcommission, Ccomission, Dcommission Go to next x...
View Full Document

Page1 / 4

06488700 - time: 1900-2300 time: 0000-0500 time: 0600-1200...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online