Question:
4. Write a statement that assigns the sum of the first and last elements of the array in
Question 3 to the variable even.
Answer:
int even = oddly[0] + oddly[4];
Source:
C++ Primer Plus Sixth Edition Chapter Review
If You Enjoyed This, Take 5 Seconds To Share It
0 Questions:
Post a Comment