The first problem that I
notice is that this loop really only applies to arrays.Other data structures have their own
idiomatic ways of accessing their members.If the data structure changes, we can still use the “for” statement,
but the details will have to change.