Answered step by step
Verified Expert Solution
Question
1 Approved Answer
COMPDATA data set in Fig. 5shows the revenue and profit for 10 companies. The first column is the company name, second column and third column
COMPDATA data set in Fig. 5shows the revenue and profit for 10 companies. The first column is the company name, second column and third column are revenue and profit in million dollars, respectively. Answer the following questions (Show source code and result using screenshots. Note that screenshots must include your ID): (1) Write COBOL code to find the min, max, and average revenue
EDIT KC02720.COMP.COMPDATA =COLS> -1---------2---------3----+- ****** ****** **** Topo 000100 Chrysler 2071.6 18.5 000200 Esnark 2510.8 19.1 000300 General Electric 2959.1 212.6 000400 U.S. Steel 3250.4 195.4 000500 Exxon Mobil 5661.4 584.8 000600 General Motors 9823.5 806.0 000700 Armour 2056.1 1.6 000800 Gulf Oil 1705.3 182.8 000900 Mobil 1703.6 183.8 001000 Dupont 1687.7 344.4 ****** ***** ****** Bottom EDIT KC02720.COMP.COMPDATA =COLS> -1---------2---------3----+- ****** ****** **** Topo 000100 Chrysler 2071.6 18.5 000200 Esnark 2510.8 19.1 000300 General Electric 2959.1 212.6 000400 U.S. Steel 3250.4 195.4 000500 Exxon Mobil 5661.4 584.8 000600 General Motors 9823.5 806.0 000700 Armour 2056.1 1.6 000800 Gulf Oil 1705.3 182.8 000900 Mobil 1703.6 183.8 001000 Dupont 1687.7 344.4 ****** ***** ****** BottomStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started