Advertisement
Guest User

Untitled

a guest
Dec 9th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.54 KB | None | 0 0
  1. if(strcmp(jb,"Buah") == 0) {
  2.     if(strcmp(jm,"Apel") == 0) {
  3.         if(porsi == 1) {
  4.             hargaNormal = 15000;
  5.             if(strcmp(status,"mahasiswa")== 0) {
  6.                 harga = hargaNormal - 2800;
  7.             } else if(strcmp(status, "dosen") == 0) {
  8.                
  9.             } ... lnjtkan if yg pegawai, umum
  10.         } else if(porsi == 4) {
  11.             Lnjtkan harganormal, status MHS,dsn,pgwi,umum
  12.         } else if(porsi == 6) {
  13.             Lnjtkan harganormal status dll
  14.         }
  15.     } else if .... Lnjtkan jeruk {
  16.       Lnjtkan porsi2nya, harganormal status, dll
  17.     }
  18.    
  19. } else if(strcmp(jb,"Ikan") == 0) {
  20.     Lnjtkan
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement