X + (X*5/100) = 500;
Find X (product cost)
1 2 3 4 5 6 7 8 9 | <?php $sale_price = 500; $gst = 5; //percent $x = 1; //ye by default 1 hi rahega $y = 100/$gst; $z = $y*$sale_price; $v = $y+$x; echo $product_cost = $z/$v; ?> |