Question: Write and execute a program in Java that will (1) create an array of 100 consecutive integers whose first element begins with the number 1,
Write and execute a program in Java that will (1) create an array of 100 consecutive integers whose first element begins with the number 1,
(2) display the elements of the array, and
(3) and displays the sum of the integers.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
