Which of the following will correctly add the number 10 to each variable in the
sales array? The x variable was declared using the int x = 0; statement.
a. while (× <= 10) × += 10;
b. while (x <= 10) {
sales = sales + 10;
X += 1; }
c. while (sales < 10) sales[x] += 10;
d. while (x <= 10) ‹
sales ×] += 10; X += 1; }