Question: Write code that creates an array named odds and stores all odd numbers between -6 and 38 into it using a for loop. Make the

Write code that creates an array named odds and stores all odd numbers between -6 and 38 into it using a for loop. Make the array's size exactly large enough to store the numbers. Type your solution here: 1 2 4 6 10 This problem asks for bare code. Submit a fragment of Java code as described. Do not write any class or method heading around your code;E just write the lines of code that will produce the result described 4 Indent
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
