Calculate profit, margin and markup.
Margin uses selling price; markup uses cost. Both must be positive.