Question: Program # 4 Cobol/Output files Page 380, Problem #7 programming assignment program (.cob file), and output files are to be posted here. The We-Sell-Low Store
Program # 4 Cobol/Output files
Page 380, Problem #7 programming assignment program (.cob file), and output files are to be posted here.
The We-Sell-Low Store has twenty-five salepeople. For each day of the week (Mon-Sat), a record is created that includes:
Sales Record Layout
Field Size Type No. of Decimal Positions (if numeric)
DAY-OF-WEEK 1 Alphanumeric
(1 = Mon
2 = Tue
.
.
.
6 = Sat)
_______________________________________________________________________________
SALESPERSON-NUMBER 2 Alphanumeric
_______________________________________________________________________________
TOTAL-AMOUNT-SOLD 7 Numeric 2
_______________________________________________________________________________
The records are in sequence by Day of Week (1-6) and within day of week, by salesperson number (1-25).
Print a report indicating the total amount sold for each day:
DAY TOTAL SALES
MON $99,999.99
TUE $99,999.99
. .
. .
. .
SAT $99,999.99
TOTAL WEEKLY SALES $999,999.99
EXTRA CREDIT: 10% If you give the subtotals by sales person for each day.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
