Program to calculate Profit earned on an object
CLS
PRINT "Program to calculate Profit earned on an object"
INPUT "Enter the selling price of an Object"; sp
INPUT "Enter the cost price of an Object"; cp
profit = sp - cp
PRINT "Profit we got ="; profit
END


Program to calculate Loss got on an object
CLS
PRINT "Program to calculate loss got on an object"
INPUT "Enter the selling price of an Object"; sp
INPUT "Enter the cost price of an Object"; cp
loss = cp - sp
PRINT "Loss we got ="; loss
END