Array to store values - Do I need to manual update

They will compile and run but they won't do what your wanting them to do.