Question: write in java language Question 2 [50 points]: Write a program that creates an array of integer number size 50, and fill this array with
Question 2 [50 points]: Write a program that creates an array of integer number size 50, and fill this array with random generated numbers from (10-50) and display it. Check the occurrence of the even integers in this array and report that For example: if the array is filled with the generated numbers as: 16 31 18 22 14 15 48 13 26 15 23 11 20 34 21 34 42 49 26 17 34 19 24 27 20 43 19 23 37 40 32 12 37 33 46 42 24 45 13 13 47 16 14 22 33 31 15 48 43 41 There are 24 even numbers Sample run 1: The generated numbers are: 1631 18 22 14 15 48 13 26 15 23 11 20 34 21 34 42 49 26 17 34 19 24 27 20 43 19 23 37 40 32 12 37 33 46 42 24 45 13 13 47 16 14 22 33 31 15 48 43 41 There are 24 even numbers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
