A program declares and initializes a one-dimensional int array named nums. Write the code to add together

Question:

A program declares and initializes a one-dimensional int array named nums. Write the code to add together the numbers stored in the first and second array elements. Display the sum on the computer screen.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: