Ekspresi | Belajar HTML dan PHP | Sunda | Kontak | Gmail | Uang Adsense
Kuliah Sistem Informasi,
PMB Online STMIK Jabar 2020
STMIK JABAR
LP3I Tasikmalaya
STAI Al-Falah
Belajar Pemrograman PHP, MySQL, Framework CI, Domain, Hosting dan CMS Wordpress
Inkubator | Daftar Isi | Bisnis Bitcoin | Tools Penting | PrivacyPolicy | Inggris Arab

Monday, October 5, 2020

DDP 6

 <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 and Forex are high risk business. We must join them smartly."
Belajar Bahasa Inggris dan Arab di WA dan FB Gratis!

No comments:

Post a Comment