You are on page 1of 2

FORMATIF QUIZ

OBJECT ORIENTED PROGRAMMING JAVA

1. Make the output as below with the following conditions:

2. Please using the SWITCH CASE function to specify the code:

Kode Menu Harga Menu


EG EIGER TAS LAPTOP Rp. 315.000
CS CONSINA SPORT Rp. 289.000
EX EXPORT TAS LAPTOP Rp. 420.000
PL POLO EXECUTIVE Rp. 320.000

3. If purchases are more than equal to 5 get a Beautiful Umbrella bonus, purchases less than 5 get
a Wall Clock
4. Total = price * purchase quantity
5. Money back = money paid – total paid
6. At the very end there is a bonus information obtained from the bonus obtained

Rules:
1. Create new project and give the project name’s like “jafar_2013310036_formatif”
2. Capture/printscreen all code and put on word after than change format to PDF

@@@@ GOOD LUCK@@@@


SOAL FORMATIF

PEMROGRAMAN BERORIENTASI OBJEK


1. Buatlah keluaran seperti gambar dibawah ini dengan ketentuan sebagai berikut:

2. Pergunakan Fungsi SWITCH untuk menentukan kode :


Kode Menu Harga Menu
EG EIGER TAS LAPTOP Rp. 315.000
CS CONSINA SPORT Rp. 289.000
EX EXPORT TAS LAPTOP Rp. 420.000
PL POLO EXECUTIVE Rp. 320.000

3. Jika pembelian lebih dari sama dengan 5 mendapatkan bonus Payung Cantik,
pembeliankurang dari 5 mendapatkan Jam Dinding.
4. Total = harga * jumlah beli
5. Uang kembali = uang bayar – total bayar
6. Di paling akhir ada keterangan bonus yang didapat dari bonus yang didapat

1. Create new project and give the project name’s like “jafar_2013310036_formatif”
2. Capture/printscreen all code and put on word after than change format to PDF

@@@@ SELAMAT MENGERJAKAN @@@@

You might also like