Program to calculate profit Percentage got on an object
CLS
PRINT "Program to Calculate Profit Percentage Got on an Object"
INPUT "Enter the selling price of an object"; sp
INPUT "Enter the cost price of an object"; cp
profit = sp - cp
gain% = (profit / cp) * 100
PRINT "Profit Percentage we got"; gain%; "%"
END
Program to calculate Loss Percentage got on an object
CLS
PRINT "Program to Calculate Loss Percentage 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
gain% = (loss / sp) * 100
PRINT "Profit Percentage we got = "; loss; "%"
END
0 Comments
Thank You ! For your love