C++ Program to find if it was a Profit or Loss

Write a program to calculate profit or loss by using C++ Program