Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- using namespace std;
- int main()
- {
- int pokok, kesehatan, transportasi, bersih, pph, kotor;
- cout<<" \n\n Gaji Pokok\t : ";cin>>pokok;
- cout<<" Uang Kesehatan\t : ";cin>>kesehatan;
- cout<<" transportasi\t : ";cin>>transportasi;
- kotor = (pokok+kesehatan+transportasi);
- pph = (3.75/100)*kotor;
- bersih = kotor-pph;
- cout<<"\n\n Gaji Bersih\t : "<<bersih;
- cout<<"\n";
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement