Jawaban ALPRO MODUL 5 Studi Kasus nomor 3 (bisa di run di Dev C++)
#include <stdio.h>
#include <conio.h>
int main()
{
float U,B,C;
int I;
U = 100000;
I = 1;
while(I<=10)
{
B = U * 0.02;
U = U + B;
C = 0.1 * U;
printf(“\nCicilan bulan %d : %10.2f”,I,C);
I++;
}
printf(“\n\nSisa Utang : %10.2f”,U);
getch();
return 0;
}