Write a short program that uses a for loop to populate an array. The array can store up to 10 integers.
Modify the code slightly to create a 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. Monitor the post to comment when other students work to repair your code.