Use range-based for loops and use initializer list to remove a small static array...