This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo "\n"; | |
echo "Berapa pendapatan (gaji dan lainnya) Anda per bulan? "; | |
$handle = fopen ("php://stdin","r"); | |
$gaji = fgets($handle); | |
echo "Berapa pengeluaran (asuransi, jamsostek, dll) Anda per bulan? "; | |
$handle = fopen ("php://stdin","r"); | |
$pengurangan = fgets($handle) ? : 0; | |
echo "Berapa bonus dan THR Anda peroleh dalam setahun? "; | |
$handle = fopen ("php://stdin","r"); |
NewerOlder