Algortima narasi :
Kode program
- package javaapplication2;
- import javax.swing.*;
- public class JavaApplication2
- {
- public static void main(String[] args)
- {
- String katakunci;
- katakunci=JOptionPane.showInputDialog("Masukan Kata Kunci ");
- if(katakunci.equals("ALGO"))
- {
- JOptionPane.showMessageDialog(null, "SELAMAT DATANG DI JOGJAKARTA");
- }
- }
- }
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.