Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp(jb,"Buah") == 0) {
- if(strcmp(jm,"Apel") == 0) {
- if(porsi == 1) {
- hargaNormal = 15000;
- if(strcmp(status,"mahasiswa")== 0) {
- harga = hargaNormal - 2800;
- } else if(strcmp(status, "dosen") == 0) {
- } ... lnjtkan if yg pegawai, umum
- } else if(porsi == 4) {
- Lnjtkan harganormal, status MHS,dsn,pgwi,umum
- } else if(porsi == 6) {
- Lnjtkan harganormal status dll
- }
- } else if .... Lnjtkan jeruk {
- Lnjtkan porsi2nya, harganormal status, dll
- }
- } else if(strcmp(jb,"Ikan") == 0) {
- Lnjtkan
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement