Write a statement that assigns the sum of the first and last elements of the array in

Question:

Write a statement that assigns the sum of the first and last elements of the array in Question 3 to the variable even.


Data From Question 3

Declare an array of five ints and initialize it to the first five odd positive integers.

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

Step by Step Answer:

Related Book For  book-img-for-question

C++ Primer Plus

ISBN: 9780321776402

6th Edition

Authors: Stephen Prata

Question Posted: