ok langsung aja cekidot..
#include
#include
using namespace std;
int main()
{
char nip[11],nm[25];
double gapok,tunjangan,pajak,gajibersih;
cout <<"HITUNG GAJI KARYAWAN"<
printf("NAMA="),scanf("%s",&nm);
cout<<"GAJI POKOK=";cin >> gapok;
tunjangan=0.2*gapok;
pajak=0.025*gapok;
gajibersih=gapok+tunjangan-pajak;
cout<<"TUNJANGAN="<< tunjangan<
}
selamat mencoba!
semoga bermanfaat!!
0 comments:
Posting Komentar