Welcome to Abdul Malik Ikhsan's Blog

Looping

Posted in Tutorial Java by samsonasik on February 21, 2007

/*Disimpan dalam loop1.java*/
class loop1
{
public static void main(String args[]){
int a;
for (a=1;a<=10;a++)
{
System.out.println(“nilai ke “+a);
}
}}

Advertisements

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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: