Question: Use the sales array to answer. The array was declared using the int sales[5] = {10000, 12000, 900, 500, 20000}; statement. The sales[4] = sales[4
Use the sales array to answer. The array was declared using the int sales[5] = {10000, 12000, 900, 500, 20000}; statement.
The sales[4] = sales[4 – 2]; statement will replace the number _____________________.
a. 20000 with 900
b. 20000 with 19998
c. 500 with 12000
d. 500 with 498
Step by Step Solution
3.24 Rating (162 Votes )
There are 3 Steps involved in it
a 2... View full answer
Get step-by-step solutions from verified subject matter experts
