Program: Write a program that requests the marginal revenue, marginal cost, fixed cost, and number of units of the product produced and sold and then displays one of the following three outputs: Profit, Loss or Break Even.
Question: Calculate the amount of profit and loss. Also if Profit then display the smiley face, if loss then display sad face and if break even then confused face.
You need to prepare the program to find the marginal revenue and program should be well-formed and clean code.