daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 59 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. Farhan Reizha.f:
  2. #include <stdio.h>
  3.  
  4. int main()
  5. {
  6.     char nabar[10];
  7.     int habar,hadit,bian,biso,bimeba,bukre;
  8.     float lanyil,binyil;
  9.     printf("Program cicilan 2017\n");
  10.     printf("\n");
  11.     printf("Nama barang: ");scanf("%s",&nabar);
  12.     printf("Harga barang: Rp.");scanf("%d",&habar);
  13.     printf("Bunga kredit: ");scanf("%d",&bukre);
  14.     hadit=habar+bukre;
  15.     printf("Total kredit %d",hadit);
  16.     printf("\n");
  17.     printf("DETAIL BIAYA\n");
  18.     printf("Lama cicilan bulan: ");scanf("%f",&lanyil);
  19.     binyil=hadit/lanyil;
  20.     printf("Biaya cicilan per bulan: %f",binyil);
  21.     printf("\n");
  22.     printf("Member baru\n ");
  23.     printf("biaya administrasi: ");scanf("%d",&bian);
  24.     printf("biaya proses: ");scanf("%d",&biso);
  25.     bimeba=bian+biso+binyil;
  26.     printf("Biaya cicilan pertama: %d",&bimeba);
  27.  
  28. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top