This file contains hidden or 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
double hitungPajakTahunan(double gajiBulanan) { | |
const double ptkp = 54000000; // PTKP tetap | |
double penghasilanTahunan = gajiBulanan * 12; | |
double pkp = penghasilanTahunan - ptkp; | |
if (pkp <= 0) return 0; | |
double pajak = 0; | |
double sisa = pkp; |