Rewrite the code from Pencil and Paper Exercise 10 using the for statement. Data From Exercise 10

Question:

Rewrite the code from Pencil and Paper Exercise 10 using the for statement. 


Data From Exercise 10

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: