body{ user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -khtml-user-select: none; }
Blogger Panda

Rabu, 18 Mei 2016

contoh konfersi kuis



 Contoh Kuis konfersi Menghitung harga total cat yang dibeli Pak Budiman


<?php

  echo"<h2>
Kuis 01 - Menghitung harga total cat yang dibeli Pak Budiman</h2>
";
 
  $catA=75000;
  $catB=125000;
  $catC=250000;
  $ppn=0.1;
  $hitung_ppn =$catB+$catC*$ppn;
  $harga_total =$catB*2+$catC*3 + $hitung_ppn;
  echo"<h2>
harga asli = </h2>
CAT A=$catA CAT B =$catB CAT C=$catC<br>
  <h2>
total harga dari membeli cat B dua kaleng dan cat C tiga kaleng
  plus ppn sebesar 10% = </h2>
Rp.$harga_total";
 
?>


Next

Prev

Posted By:

0 komentar:

Posting Komentar

Blogger Panda