Question: Write a Java program named Counter that performs the following tasks: [2, 1 a. Generates 15 random integer numbers their range must be between 10
Write a Java program named Counter that performs the following tasks: [2, 1 a. Generates 15 random integer numbers their range must be between 10 a inclusive) and store them in a single-dimensional array. b. Displays the array elements. c. Count and display how many negative numbers in the array. d Calculate and display the sum of the odd numbers in the array. For example, if the random numbers were stored in the array are: -2-83-4-6 3-275988-57-7 Then the program should display: The array elements are
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
