Question: In this lab you will review using arrays in programs as well as begin to use the Eclipse environment. Requirements Create a program that will

In this lab you will review using arrays in programs as well as begin to use the Eclipse environment.

Requirements

Create a program that will declare and initialize an array with the date given below. Your program should then compute and display the total of the elements in the array, the average of the elements in the array, the maximum value in the array and the minimum value in the array. The values you should get from this data are displayed below. The text has examples that you can use as models.

Here is the data:

2683, 2654, 3090, 3325, 4881, 3300, 7456, 3780, 3232, 7270, 7773, 5553, 2850, 7619, 2762, 6965, 4539, 3131, 6066, 5404, 4183, 6830, 2424, 4517, 6599, 3714, 7351, 4243, 6688, 7819, 6449, 3781, 5565, 3283, 7427

Max value 7819 Min value 2424 Total 175206 Average 5005.885714

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 Databases Questions!