-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d55dd27
Showing
29 changed files
with
242 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package JobSheet6; | ||
|
||
import java.util.Scanner; | ||
|
||
public class Percabangan { | ||
public static void main(String[] args) { | ||
|
||
String identitas="Muhammad Izzul Haq Syihabuddin Sanni /XRPL/21"; | ||
System.out.println("identitas:"+identitas); | ||
Scanner baca = new Scanner(System.in); | ||
System.out.println("Nilai a?"); | ||
int a = baca.nextInt(); | ||
|
||
|
||
int nilai; | ||
System.out.println("\nNilai Anda ?"); | ||
nilai = baca.nextInt(); | ||
|
||
|
||
|
||
String grade = (nilai < 75) ? "belum kompeten" : "kompeten"; | ||
System.out.println(nilai + " => " +grade); | ||
|
||
|
||
|
||
} | ||
|
||
|
||
} | ||
|
||
|
||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
package JobSheet6; | ||
import java.util.Scanner; | ||
public class SaranBahanMasak { | ||
public static void main(String[] args) { | ||
|
||
String identitas = "Muhammad IZzul Haq Syihabuddin Sanni / XRPL2 / no"; | ||
System.out.println("identitas : " +identitas); | ||
|
||
System.out.print("\nSaran Resep dari bahan milik anda\n"); | ||
|
||
Scanner baca = new Scanner(System.in); | ||
|
||
System.out.println("Bahan Pertama : "); | ||
System.out.println("1. Pisang"); | ||
System.out.println("2. Telur"); | ||
System.out.print("Masukan no pilihan anda :"); | ||
int bahan1 = baca.nextInt(); | ||
|
||
if(bahan1 == 1 || bahan1 == 2) | ||
{ | ||
System.out.println("Bahan kedua : "); | ||
if(bahan1 == 1) { | ||
System.out.println("1. Susu"); | ||
System.out.println("2. Minyak Goreng"); | ||
System.out.println("3. Tidak ada"); | ||
} else { | ||
System.out.println("1 Minyak Goreng"); | ||
System.out.println("2. Roti"); | ||
System.out.println("3. Tidak ada"); | ||
} | ||
System.out.print("Masukan no pilihan anda : "); | ||
|
||
|
||
} | ||
int bahan2 = baca.nextInt(); | ||
|
||
if(bahan2 >= 1 && bahan2 <=3) | ||
{ | ||
if(bahan1==1) | ||
switch(bahan2) | ||
{ | ||
case 1: System.out.println( | ||
"Anda dapat membuat milk shake banana"); break; | ||
case 2: System.out.println( | ||
"Anda dapat membuat pisang goeng"); break; | ||
case 3: System.out.println( | ||
"Anda dapat membuat pisang rebus"); | ||
|
||
|
||
|
||
|
||
} | ||
else | ||
switch(bahan2) | ||
{ | ||
case 1 : System.out.println( | ||
"Anda dapat membuat telur mata sapi"); break; | ||
case 2 : System.out.println( | ||
"Anda dapat membuat sandwich telur"); break; | ||
case 3 : System.out.println( | ||
"Anda dapat membuat telur rebus"); | ||
} | ||
|
||
}else | ||
System.out.println("Mohon maaf, pilihan tidak ditemukan," +"tidak dapat memberikan saran resep"); | ||
|
||
} | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
|
||
package REWORKED; | ||
|
||
|
||
import java.util.Scanner; | ||
|
||
public class Tes1tagian { | ||
|
||
|
||
public static void main(String[] args) { | ||
Scanner baca = new Scanner(System.in); | ||
int p, rms, m ; | ||
double pajak, total; | ||
|
||
System.err.println("===============TOOLS CEK TAGIHAN LISTRIQ==============="); | ||
System.out.println("1. Listrik Rumah Tangga"); | ||
System.out.println("2. Cara pakai tools nya"); | ||
|
||
System.out.println("π½πππ ππͺπ‘πͺ πππ£ :πΏ"); | ||
System.out.println("Pilih salah 1 / 2 sam :v :"); | ||
|
||
System.err.println("====================================================="); | ||
|
||
p = baca.nextInt(); | ||
|
||
|
||
if (p==1){ | ||
System.out.println("=====Listrik Rumah Tangga====="); | ||
|
||
System.out.println("1. Pemakaian 0 - 450kwh = Golongan C"); | ||
System.out.println("2. Pemakaian 450 - 900kwh = Golongan B"); | ||
System.out.println("3. Pemakaian 900 - 1200kwh = Golongan A"); | ||
|
||
|
||
|
||
System.out.println("Tentukan Anda masuk golongan mana? : "); | ||
p = baca.nextInt(); | ||
|
||
|
||
|
||
|
||
System.out.println("Kalau boleh tau berapa :v ? :"); | ||
m = baca.nextInt(); | ||
|
||
|
||
|
||
|
||
|
||
if (p == 1){ | ||
|
||
rms = (20000 + (m * 1000)); | ||
System.out.println("Tarif Anda adalah rp."+rms); | ||
pajak = (0.1 * rms); | ||
System.out.println("pajak : " +pajak ); | ||
total = (rms + pajak); | ||
|
||
System.err.println("TOTAL BIAYA : Rp." + total); | ||
|
||
} | ||
|
||
|
||
|
||
if (p == 2){ | ||
rms = ( 35000 + (m * 2500)); | ||
System.out.println("Tarif Anda adalah rp."+rms); | ||
pajak = (0.15 * rms); | ||
System.out.println("pajak : " +pajak ); | ||
total = (rms + pajak); | ||
|
||
System.err.println("TOTAL BIAYA : Rp." + total); | ||
} | ||
|
||
|
||
if (p == 3){ | ||
rms = ( 50000 + (m * 3000)); | ||
System.out.println("Tarif Anda adalah rp." +rms); | ||
pajak = (0.20 * rms); | ||
System.out.println("pajak : " +pajak ); | ||
total = (rms + pajak); | ||
|
||
System.err.println("TOTAL BIAYA : Rp." + total); | ||
} | ||
|
||
|
||
} else if (p==2) { | ||
System.out.println("==================================================="); | ||
System.out.println("1. Pilih Angka 1 pada menu awal"); | ||
System.out.println("2. Pilih Golongan yang sesuai dengan kwh anda"); | ||
System.out.println("3. Tulis berapa kwh anda"); | ||
System.out.println("4. Jeng jeng :v tagihan anda keluar "); | ||
System.out.println("5. Jangan lupa bayar sob!!! :V"); | ||
System.out.println("==================================================="); | ||
System.err.println("π§π’π’ππ¦ ππ¬ @π¦ππΆπ΅ππ―"); | ||
System.out.println("99. back menu awal : "); | ||
|
||
|
||
} | ||
|
||
} | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|