Example PHP Program: Calculate Gross Salaries and the net Salary For Groups IIA, IIB, IIC - I will give you how to create a PHP program on Localhost, this Program is a program for calculating the gross Salaries and the net salary to The IIA, IIB, IIC.
You can use Macromedia Dreamweaver 8 application or notepad or notepad ++, if you don't have you can download it, click here.
just give me the code to run the program, and you can edit a bit in which you can edit, the code is:
<?php
//nama:anis mulyadi
//npm:13105111012
echo "<p>Nama : Anis Mulyadi</p>";
echo "<p>NPM : 13105111012</p>";
echo "<p>Ruang : 3.I</p>";
echo "<p>IIA</p>";
$gaji = 2100000;
$tunjangan = 200000;
$pajak = 2.5;
$persen = 100;
$gaji_ktr = $gaji + $tunjangan;
$gaji_bersih = $gaji_ktr -(($gaji / $persen) * $pajak);
echo "<p>Hasil Gaji Kotor :</p>";
echo "$gaji_ktr";
echo "<p>Hasil Gaji Bersih :</p>";
echo "$gaji_bersih";
echo "<p>IIB</p>";
$gaji = 2150000;
$tunjangan = 300000;
$pajak = 2;
$persen = 100;
$gaji_ktr = $gaji + $tunjangan;
$gaji_bersih = $gaji_ktr -(($gaji / $persen) * $pajak);
echo "<p>Hasil Gaji Kotor :</p>";
echo "$gaji_ktr";
echo "<p>Hasil Gaji Bersih :</p>";
echo "$gaji_bersih";
echo "<p>IIC</p>";
$gaji = 2700000;
$tunjangan = 400000;
$pajak = 2;
$persen = 100;
$gaji_ktr = $gaji + $tunjangan;
$gaji_bersih = $gaji_ktr -(($gaji / $persen) * $pajak);
echo "<p>Hasil Gaji Kotor :</p>";
echo "$gaji_ktr";
echo "<p>Hasil Gaji Bersih :</p>";
echo "$gaji_bersih";
?>
His results will be breakfast buffet like this:
Home »
tipsandtriks »
Example PHP Program: Calculate Gross Salaries and the net Salary For Groups IIA, IIB, IIC
Example PHP Program: Calculate Gross Salaries and the net Salary For Groups IIA, IIB, IIC
Thank you already visit and continue to visit it again until there are satisfied against our dishes.
Subscribe to:
Post Comments (Atom)
0 komentar:
Post a Comment