Friday, April 5, 2019

DDP 7

<html>
<head>
<title>Hasil biaya </title>
</head>
<body>
Hasil Biaya <br>
<?php
 $jum = $_POST['jumlah'];
 $hasil;
 if ($jum < 100)
 {
  $tarif = 150;
                $hasil= $jum * $tarif ;
  echo "Jumlah Lembar Fotocopy = $jum <br>";
  echo "Tarif harga = $tarif <br>";
  echo "Total bayar = $hasil <br>";
 } else if ($jum < 200)
 {
  $tarif = 100;
                $hasil= $jum * $tarif ;
  echo "Jumlah Lembar Fotocopy = $jum <br>";
  echo "Tarif harga = $tarif <br>";
  echo "Biaya harus bayar = $hasil <br>";
 }else if ($jum < 200 )
 {
  $tarif = 80;
                $hasil= $jum * $tarif ;
  echo "Jumlah Lembar Fotocopy = $jum <br>";
  echo "Tarif harga = $tarif <br>";
  echo "Biaya harus bayar = $hasil <br>";
 }else{
  echo "Jumlah tidak sesuai";
 }
?>
</body>
</html>
Bitcoin Offers:
Free Bitcoin, Double Bitcoin, Bitcoin Investment, Bitcoin Trading



"Bitcoin and Forex are high risk business. We must join them smartly."

No comments:

Post a Comment