1.

"Write program in C to check profit and loss if the selling price is greater than cost price then calculate the profit else calculate the loss using if condition. " need help please answer this question.

Answer»

Answer:

FORMULA to CALCULATE COST price if selling price and profit PERCENTAGE are given: CP = ( SP * 100 ) / ( 100 + percentage profit). Formula to calculate cost price if selling price and LOSS percentage are given: CP = ( SP * 100 ) / ( 100 – percentage loss ).



Discussion

No Comment Found