Diberdayakan oleh Blogger.

Entri Populer

Senin, Juli 30, 2012

WEB PROGRAMMING


<?php
$nm="azat";
$tgl="02/01/2012";
$namabrg="baju";
$harga=120000;
$jmh=5;
$disk=0.2;

$totalharga=$harga * $jmh;
$potoganharga=$totalharga * $disk;
$totalbayar=$totalharga - $potonganharga;

echo "Nama Pembeli          : $nm";
echo "Tanggal Pembelian    : $tgl";
echo "Nama Barang            : $namabrg";
echo "Harga Barang           : $harga";
echo "Jumlah Barang         : $jmh";
echo "Total Harga Beli       : $totalharga";
echo "Potongan Harga       : $potonganharga";
echo "Total Bayar              : $totalbayar";

?>

separador

0 komentar:

Posting Komentar

Followers