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

1 Expert Approved Answer
Step: 1 Unlock

a 2... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Microsoft Visual C# Introduction Questions!