Question: Use the sales array to answer. The array was declared using the int sales[2][5] = {{10000, 12000, 900, 500, 20000}, {350, 600, 700, 800, 100}};
Use the sales array to answer. The array was declared using the int sales[2][5] = {{10000, 12000, 900, 500, 20000}, {350, 600, 700, 800, 100}}; statement.
The statement cout << sales[0][3] + sales[1][3] << endl; will _____________________.
a. Display 1300
b. Display 1600
c. Display sales[0][3] + sales[1][3]
d. Result in an error
Step by Step Solution
3.50 Rating (170 Votes )
There are 3 Steps involved in it
a ... View full answer
Get step-by-step solutions from verified subject matter experts
