The Gross Profit Method of Estimating the Cost of Goods Sold and the Ending Inventory