Question: Use the sales array to answer. The array was declared using the int sales[5] = {10000, 12000, 900, 500, 20000}; statement. a. while (x
Use the sales array to answer. The array was declared using the int sales[5] = {10000, 12000, 900, 500, 20000}; statement.
a. while (x <= 4)
x += 100;
//end while
b. while (x <= 4)
{
sales = sales + 100;
x += 1;
} //end while
c. while (sales < 5)
{
sales[x] += 100;
} //end while
d. while (x <= 4)
{
sales[x] += 100;
x += 1;
} //end while
Step by Step Solution
3.52 Rating (166 Votes )
There are 3 Steps involved in it
d... View full answer
Get step-by-step solutions from verified subject matter experts
