Izzmemitch wrote...
So I Figure that the formula goes herewhat is the full formula for this balance of the Ship object
The 'addContainer' and 'removeContainer' methods of the Ship class is where you will be using the formula. I suggested this for the formula.
danpost wrote...
You can use the formula 'n = (i*2)-3', where 'n' is the adjustment whose value will be in the set { -3, -1, 1, 3 } depending on where the container is placed; or '-n' if removed.
