Mission Lane Interview Question

Calculate Profit for a business