LATIHAN SOAL PBO
dibuat oleh : Muhammad Rafi - XI RPL 1 LATIHAN SOAL PBO SOAL public class StatementSwitch { public static void main(String[] args) { String Pil; Case1 System.out.println("Program IF"); … … Break Case2 System.out.println("Program IFELSE"); … … Break Case3 System.out.println("Program IFELSEIF"); … … Break Case4 System.out.println("Program NESTEDIF"); … … Break default : System.out.println("Inputan Salah"); } } JAWABAN package tugaspbo; public class TUGASPBO { public static void main(String[] args) { char pilihan = '3'; int harga = 85000; switch(pilihan) { case '1' : System.out.println("Program IF"); if (harga <= 86000) { System