Nama: Adrian Noval Firmansyah NPM: 22082010214 Kelas: 2E Source Code: -Main package BP2LatSTACK; import java.util.Scanner; public class StackMain { public static void main(String[] args) { Scanner s = new Scanner(System.in); cStack Stack = new cStack(); int pilih=0; System.out.println("================================"); System.out.println("Nama : Adrian Noval Firmansyah"); System.out.println("NPM : 22082010207"); System.out.println("================================"); do{ System.out.println("---------------------------------"); System.out.println(" MENU STACK "); ...
Nama: Adrian Noval Firmansyah NPM:22082010214 Kelas parallel: 1E package latihanswtichcase; import java.util.Scanner; public class Latihanswtichcase { public static void main(String[] args) { Scanner F=new Scanner(System.in); int pilih; int jumlah; int total = 0; int diskon; int hargssetelahdiskon; int jumlahuang; int jumlahkembalian; int hargasetelahdiskon = 0; int pilih3; int jumlahkembalian1; System.out.println("----------Selamat datang di Warung Millenial----------"); System.out.println(""); System.out.println("Silahkan pilih menu yang tersedia"); System.out.println(""); System.out.println("1. Sate"); System.out.println("2. Pecel"); System.out.println("3. Penyetan"); System.out.println(""); System.out.print("Silahkan pilih menu yang ingin dipesan = "); ...
Komentar
Posting Komentar