// Menghitung Lama Cicilan Mobil Pak Amir //
#include
#include
void main()
float harga , DP , cicil , sisa ;
int bulan ;
clrscr();
harga = 50000000;
DP = 10000000;
cicil=300000;
cout<<"Harga Mobil = Rp 50.000.000";
cout<<"\nCicilan Awal Pak Amir = Rp 10.000.000";
cout<<"\nCicilan Bulanan Pak Amir = Rp 300.000";
sisa=harga - DP;
bulan=sisa/cicil;
cout<<"\n\nMaka, Pak Amir harus mencicil selama = "<
cout<<" Bulan";
}
No comments:
Post a Comment