I need help writing a short program that uses a for loop to populate
I need help writing a short program that uses a for loop to populate
an array. The array can store up to 10 integers.
Then I need to modify the code slightly to create bug that would prevent the code from compiling or even better from running correctly.
Be sure to describe what the code is designed to do.