Menentukan Password

June 6, 2010 at 12:00 pm Leave a comment

public static void main(String[] args) throws IOException {

// TODO code application logic here

Integer NIM = Integer.parseInt(JOptionPane.showInputDialog(“Inputkan NIM Anda : “));

String Nama = JOptionPane.showInputDialog(“Inputkan Nama Anda : “);

Integer PSWD = (int)(Math.random()*(10000+(99999)));

JOptionPane.showMessageDialog(null, “SELAMAT DATANG, ” + Nama + ” (” + NIM + “) \n PASSWORD ANDA : ” + PSWD);

}

}

Advertisement

Entry filed under: Uncategorized. Tags: .

Games Tebak Angka max 5 tebakan Perhitungan Gaji

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


 

June 2010
M T W T F S S
« Jan    
 123456
78910111213
14151617181920
21222324252627
282930  

Pages

Top Posts

  • None

Recent Posts


Blogger Ngalam



helga indra:



Follow

Get every new post delivered to your Inbox.