Write the code to subtract the number 1 from each element in a one-dimensional int array named

Question:

Write the code to subtract the number 1 from each element in a one-dimensional int array named quantities. The array has 10 elements. Use the while statement.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: