Class 11th IP (065)
Write a Python Program to calculate profit-loss for given Cost and Sell Price.
SOLUTION..
cp = float(input("Cost Price: ")) sp = float(input("Selling Price: ")) if sp > cp: print("Profit =", sp - cp) elif cp > sp: print("Loss =", cp - sp) else: print("No Profit No Loss")


