Skip to content

Commit

Permalink
PercabanganJs6
Browse files Browse the repository at this point in the history
  • Loading branch information
Syihabuddinsanni committed Aug 29, 2019
0 parents commit d55dd27
Show file tree
Hide file tree
Showing 29 changed files with 242 additions and 0 deletions.
Binary file added 12 jwbn 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 12 jwbn 3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 12 jwbn 5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 12 jwbn 6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 12 jwbn 7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 15 jwbn 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 15 jwbn 3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 15 jwbn 5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 15 jwbn 7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 18 jwbn 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 18 jwbn 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 18 jwbn 3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 18 jwbn 4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 18 jwbn 5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 18 jwbn 7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 21 jwbn 50.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 21 jwbn 75.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 21 jwbn 85.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 6 jwbn 3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 6 jwbn 5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 6 jwbn 7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 8 jwbn 3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 8 jwbn 5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 8 jwbn 7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions Percabangan.java
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);



}


}




Binary file added Resep Masakan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
82 changes: 82 additions & 0 deletions SaranBahanMasak.java
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");

}
}














Binary file added Tagihan Listrik.png
127 changes: 127 additions & 0 deletions Tes1tagian.java
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 : ");


}

}
}



























0 comments on commit d55dd27

Please sign in to comment.