By selling a house for Rs.45000, it was found that 1/8 of the outlay was gained, what ought the selling to price to have been in order to have lost 5 p.c?

By selling a house for Rs.45000, it was found that 1/8 of the outlay was gained, what ought the selling to price to have been in order to have lost 5 p.c?

A. Rs.38750
B. Rs.38000
C. Rs.40000
D. Rs.42000
Explanation:
CP + CP/8 = 45000
CP = 40000
SP = 40000*(95/100) = 38000