Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 ****** ***** ****** Bottom

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

More Books

Students also viewed these Databases questions