To accept the cost and selling price from the user in two text field , calculate the profit or lost
Answers
Answered by
2
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 ).
Similar questions