C++20. Stock Profit The profit from the sale of a stock can be calculated as follows: Profit = ((NS x SP) -SC) – ( (NS x PP) + PC) where NS is the number of shares, SP is the sale price per share, SC is the sale commission paid, PP is the purchase price per share, and PC is the purchase commission paid. If the calculation yields a positive
OR
OR