Question: Part I 1. Create a new BlueJ project name Lab9. 2. Create a new class called Lab9a. Program Description Create a program that will count

 Part I 1. Create a new BlueJ project name Lab9. 2.

Part I 1. Create a new BlueJ project name Lab9. 2. Create a new class called Lab9a. Program Description Create a program that will count the number of even and odd numbers in an array, compute the mean and median of the numbers in the array and print the results. Declare and initialize the following variables: intl nums (3, 5,7, 9,11, 13, 14, 15, 17, 19, 21, 22, 23, 33, 35, 60]; int evenCnt 0, oddCnt o, sum-o, index-0; double median 0; Create a for-loop that uses index as the counter variable. The for-loop should start at zero and continue as long as index

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!