question_answer Q: PLEASE DO IT IN JAVA-LIKE ECLIPSE!! Create an EvensAndOdds application that generates 25 random…A: Here we need to use function Math.random to generate random number in Java.


PLEASE DO IT IN JAVA-LIKE ECLIPSE!!

Create an EvensAndOdds application that generates 25 random integers between 0 and 99 and then
displays all the evens on one line and all the odds on the next line. Application output should look
similar to:

Exercise 1
EvensAndOdds
Create an EvensAndOdds application that generates 25 random integers between 0 and 99 and then
displays all the evens on one line and all the odds on the next line. Application output should look
similar to:
ODD:
21 21 87 39 45 7 75 71 87 9 81 27 57
EVEN:
26 64 2 74 0 40 84 0 82 0 32 90
expand button
Transcribed Image Text:Exercise 1
EvensAndOdds
Create an EvensAndOdds application that generates 25 random integers between 0 and 99 and then
displays all the evens on one line and all the odds on the next line. Application output should look
similar to:
ODD:
21 21 87 39 45 7 75 71 87 9 81 27 57
EVEN:
26 64 2 74 0 40 84 0 82 0 32 90
question_answer Q: PLEASE DO IT IN JAVA-LIKE ECLIPSE!! Create an EvensAndOdds application that generates 25 random…A: Here we need to use function Math.random to generate random number in Java.


PLEASE DO IT IN JAVA-LIKE ECLIPSE!!

Create an EvensAndOdds application that generates 25 random integers between 0 and 99 and then
displays all the evens on one line and all the odds on the next line. Application output should look
similar to:

Exercise 1
EvensAndOdds
Create an EvensAndOdds application that generates 25 random integers between 0 and 99 and then
displays all the evens on one line and all the odds on the next line. Application output should look
similar to:
ODD:
21 21 87 39 45 7 75 71 87 9 81 27 57
EVEN:
26 64 2 74 0 40 84 0 82 0 32 90
expand button
Transcribed Image Text:Exercise 1
EvensAndOdds
Create an EvensAndOdds application that generates 25 random integers between 0 and 99 and then
displays all the evens on one line and all the odds on the next line. Application output should look
similar to:
ODD:
21 21 87 39 45 7 75 71 87 9 81 27 57
EVEN:
26 64 2 74 0 40 84 0 82 0 32 90

Be the first to reply

Leave a Reply

Your email address will not be published.