<html> <head> <title>**** Electric Bill ****</title> </head> <body> <?php echo"@@@@@@@@@@@@ Electric Bill @@@@@@@@@@@@ "; ?><br</br> <?php $name ='sateesh.bagadhi'; $units = 21; $rate = 5; $amount = $rate * $units; echo "Given BILL details are: "; ?> <br></br> <?php echo" NAME OF THE CUSTOMER IS:";echo $name; ?> <br></br> <?php echo"UNITS ARE:";echo $units; ?> <br></br> <?php echo"BILL AMOUNT IS:";echo $amount; ?> <br></br> <?php ?> <br</br>
output
@@@@@@@@@@@@ Electric Bill @@@@@@@@@@@@ Given BILL details are: NAME OF THE CUSTOMER IS:sateesh.bagadhi UNITS ARE:21 BILL AMOUNT IS:105
No comments:
Post a Comment