Question: 2. Write COBOL code to generate 50 integer random numbers between 100 and 999, and store them in array ARR. (1) Find min, max and

2. Write COBOL code to generate 50 integer random numbers between 100 and 999, and store them in array ARR.

(1) Find min, max and average of these numbers. (20 points, COMP4910 students) (2) Sort the integer in ARR in ascending order by using bubble sort. (20 points, COMP5900/ENCS7060 students)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!