X1052: make10to20

In the following code, create an array of integers and initialize it to contain the values from 10 to 20, inclusive.

To be clear, the item at index 0 should be 10, and the item at the last position in the array should be 20. Tip: you may want to use a counter-controlled for loop.

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.