Answer:
the cost price is Rs. 4500 and the sale price is Rs. 5040.
Explanation:
Let the cost price of the compute be Rs. x.
The profit earned is, Rs. 540.
The profit percentage is, 12%.
The formula to compute profit is:
Profit = SP - CP
\begin{gathered}540=x[1+\frac{12}{100}]-x\\540=1.12x-x\\540=0.12x\\x=\frac{540}{0.12}\\x=4500\end{gathered}540=x[1+10012]−x540=1.12x−x540=0.12xx=0.12540x=4500
Compute the selling price as follows:
SP = CP + profit
= 4500 + 540
= 5040
Thus, the cost price is Rs. 4500 and the sale price is Rs. 5040.