inventory Column
Gives the row of a given index. Does not throw an exception if index is out of range.
Return
the column position for the index (0-4)
Parameters
index
ranges from 0 - (INVENTORY_SIZE-1)
Gives the row of a given index. Does not throw an exception if index is out of range.
the column position for the index (0-4)
ranges from 0 - (INVENTORY_SIZE-1)