C program to calculate profit and loss

C program to calculate profit and loss

Output:

Enter Cost Price of the article you bought: 100
Enter Selling Price of the same article you sold at: 500
Profit Percentage = 400

Implementation: