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
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.
Step by Step Solution
3.40 Rating (153 Votes )
There are 3 Steps involved in it
int x 0 whi... View full answer
Get step-by-step solutions from verified subject matter experts
