Write code that uses a for loop to print each element of an array named data that

Question:

Write code that uses a for loop to print each element of an array named data that contains five integers:

element [0] is 14

element [1] is 5

element [2] is 27

element [3] is −3

element [4] is 2598

Consider generalizing your code so that it will work on an array of any size.

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

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: