explain how to do arrays and an expanded algorithm

how to do arrays