Tugas Algoritma
Nama : Ady Nugraha NIM : 161021450264 Kelas : 02TPLP001 // TODO add your handling code here: brownis = (String)jComboBox1.getSelectedItem(); if (brownis == "Pilih"){ txtharga.setText(""); txtpotongan.setText(""); txttotal.setText(""); } else if (brownis == "Brownis Keju"){ harga = 35000; txtharga.setText(""+harga); } else if (brownis == "Brownis Coklat"){ harga = 40000; txtharga.setText(""+harga); } else if (brownis == "Brownis Pisang"){ harga = 30000; txtharga.setText(""+harga); } else if (brownis == "Brownis Kacang"){ harga = 32000; txtharga.setText(""+ha