welcome wawandiamond

Selamat datang di wawandiamond.blogspot.com #email : wawandiamond@gmail.com
Sabtu, 02 November 2013

1.Buka borland c++
  tulis script
#include <conio.h>
#include <stdio.h>
#include <iostream.h>
void main() {
int po,t,pe,tk,tor,tp,pj,gj,tpot;
cout<<"---------gaji karyawan-------"<<endl;
cout<<"Masukan gaji pokok : Rp."; cin>>po;
cout<<"Masukan gaji tunjangan : Rp."; cin>>t;

tor=po+t;
cout<<"\nGaji kotor : Rp."<<tor<<endl;

tk=(po*5)/100;
cout<<"Tunjangan keluarga dari gaji pokok 5% : Rp."<<tk<<endl;
tp=(po*4)/100;
cout<<"Tunjangan perumahan 4% : Rp."<<tp<<endl;
pj=((po+t)*5)/100;
cout<<"Pajak penghasilan 5% : Rp."<<pj<<endl;
tpot=tk+tp+pj;
cout<<"total potongan : Rp."<<tpot<<endl;
gj=(tor)-(tpot);
cout<<"gaji bersih 30 hari : Rp."<<gj<<endl;
getch();
}

Terimakasih semoga bermanfaat :)
02 Nov 2013

0 komentar:

Posting Komentar

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

Dafrar informasi

Terbaru

Popular Posts