Menghitung total pendapatan Hotel Dengan Java NetBeans
Source Code : package hotel; /** * * @author kamu */ import java.io.*; public class UAS { /** * @param args the command line arguments */ public static void main(String[] args) throws IOException { String nama="",kamar=""; int jenis=0,status=0,lama=0,tarif=0; double diskon=0,bayar=0, pajak=0; BufferedReader br = new BufferedReader(new InputStreamReader (System.in)); //input System.out.println("--**-- Sistem Informasi Hotel ABC --**--"); System.out.print("Nama Pelanggan \t\t\t: "); nama = br.readLine(); ...