Postingan

Menampilkan postingan dari Juli, 2017

Pembayaran/Kasir (TUGAS UAS)

Gambar
*  * To change this license header, choose License Headers in Project Properties.  * To change this template file, choose Tools | Templates  * and open the template in the editor.  */ import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Scanner; /**  *  * @author rizky  */ public class Menu {     /**      * @param args the command line arguments      */     public static void main(String[] args) {         // TODO code application logic here     Scanner input = new Scanner (System.in);         BufferedReader input2 = new BufferedReader (new InputStreamReader (System.in));         int i = 0;         int hargatotal = 0;         int penampung = 0;         String menu[] = new String [100];         int harga[] = new int [100];         String keputusan="Y";         String disc;         int diskon;         System.out.println("----------------------MENU-----------------------");