#include
#include
void main()
{
int jumlah;
float harga , ppn , totalppn , bayar , totalharga;
clrscr();
cout<<"\n Jumlah Barang :";
cin>>jumlah;
cout<<" Harga Barang :";
cin>>harga;
bayar = jumlah * harga;
cout<<" Bayar :"<
ppn = 0.1;
cout<<"\n PPN :"<
totalppn = bayar * ppn;
cout<<"\n Total PPN :"<
totalharga = (bayar + totalppn);
cout<<"\n\n Total Harga :"<
}
HASIL PROGRAM 5
|
No comments:
Post a Comment