Question: Java programming Write an application (MyNumbers) that declares an integer array of ten numbers and populates them ( using a for loop ) by starting
Java programming
Write an application (MyNumbers) that declares an integer array of ten numbers and populates them (using a for loop) by starting with 5 and adding five more to each number. Use another for loop to print out each element of the array (with a tab in between each number).
Change the value of 35 to a 77 and reprint out the array once again (putting in a newline character first). The final result should look like this:
5 10 15 20 25 30 35 40 45 50
5 10 15 20 25 30 77 40 45 50
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
