DAY 2 PHP PROGRAMMING - 2
http://php.flashwebhost.com/ramesh/day-2/billing-2.php
Code:<?php $cpu_price = 14000; $monitor_price = 8000; $discount = 0.12; $total_cost = $cpu_price + $monitor_price; echo 'Total cost = Rs: ' . $total_cost . '/-'; echo '<br>'; echo 'Price After Discount = Rs: '. ( $total_cost - ($total_cost * $discount)). '/-';





Reply With Quote
Bookmarks