Este es el informe usado por Bob para responder a las preguntas del usuario.
Código COBOL:
------------------------------------------------------------------------------------------
date: 13/05/2020 year-to-date sales report page: 0001
time: 05:59 rpt1000
------------------------------------------------------------------------------------------
branch cust sales sales change change
num num customer name this ytd last ytd amount percent
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
11 12345 career training ctr 12,345.67 22,222.22 9,876.55- 44.4-
22222 homelite textron co 34,545.00 0.00 999.90 999.9
55555 polot life ins. Co. 10,000.00 1,000.00 9,000.00 900.0
branch total 56,890.67 23,222.22 33,668.45
12 00111 dauphin deposit bank 14,099.00 19,930.00 5,831.00- 29.3-
12121 general services co. 11,444.00 11,049.56 394.44 3.6
24680 info mangement co. 17,481.45 13,892.47 3,588.98 25.8
branch total 43,024.45 44,872.03 1,847.58-
13 14681 tata coffee private. 27,483.45 21,832.47 5,650.98 25.9
14682 tata consumer co. 57,481.45 51,432.47 6,048.98 11.8
branch total 84,964.90 73,264.94 11,699.96
14 14683 tata chemical ltd. 43,443.45 41,834.47 1,608.98 3.8
14684 coal india pvt ltd 17,481.45 21,832.47 4,351.02- 19.9-
14685 zintec prviate ltd 27,481.45 21,832.47 5,648.98 25.9
branch total 88,406.35 85,499.41 2,906.94
15 14686 sentials local pvt 37,481.45 21,832.47 15,648.98 71.7
branch total 37,481.45 21,832.47 15,648.98
16 14687 coral1india finance. 47,481.45 21,832.47 25,648.98 117.5
14688 coral2india finance. 57,481.45 21,832.47 35,648.98 163.3
branch total 104,962.90 43,664.94 61,297.96