Coding Menghitung Gaji Karyawan :
#include <iostream>
using namespace std ;
int main()
{
double p,gaji_netto,tunj,pajak;
char k[5];
cout<<"nama
karyawan :";
cin>> k;
cout<<"Gaji
Pokok :";
cin>>p;
tunj=(20*p)/100;
pajak=(15*p)/100+tunj;
gaji_netto=p+tunj-pajak;
cout<<"gaji
netto:" <<gaji_netto << endl;
return 0;
0 komentar:
Posting Komentar