Create a program that contains a form MAIN MENU contains arithmetic operations of addition, deprivation, multiplication and division. MAIN MENU contains 3 options appear as follows: MAIN MENU 1. Operation Addition 2. Operation Reduction 3. Operation Multiplication 4. The division operation x. Exit menu above will be repeated menrus by requiring that users enter a code. If the code on the user fed by other than 1,2,3,4 or x, a message appears "The code does not match", while the X code would also result in the message "Thank You".
===========================================================================
Buatlah program bentuk MENU UTAMA yang berisi operasi aritmetika yang berisi penjumlahan, pengurangn, perkalian dan pembagian. MENU UTAMA tersebut berisi 3 pilihan yang tampil seperti berikut: MENU UTAMA 1. Operasi Penjumlahan 2. Operasi Pengurangan 3. Operasi Perkalian 4. Operasi Pembagian x. Keluar Menu di atas akan diulang terus menrus dengan meminta pengguna supaya memasukkan kode. Jika kode yang di inputkan oleh pengguna selain 1,2,3,4 atau x, satu pesan muncul “Kode tidak sesuai!”, sedangkan kode X pula akan menghasilkan pesan “Terima Kasih”.
Script Program :
Screenshot :
Try It and Good Luck!!!
No comments:
Post a Comment