Need help to print numbers

CAN SOMEONE HELP ME TO WRITE A JAVA CODE Please

//WHAT I AM TRYING TO DO HERE IS TO PRINT NUMBERS LIKE THIS EXAMPLE:

12345678910

246810 1214161820

36912 15 1821242730

There is a code to print first line (12345678910)

import becker.util.Utilities;

public class Main

{

public static void main(String[] args)

{ for (int b = 1; b <= 10; b+=1)

{ System.out.printf(" "+ b);

Utilities.sleep(30);

}

}

}

Thanks

[509 byte] By [Alex7] at [2007-11-26 12:03:15]
# 1

here you go this should do the trick

import java.*;

import javax.swing.*;

public class Count {

public static void main(String args [])

{

Count c = new Count();

c.Countpart();

}

public void Countpart()

{

for(int b=1;b<11;b++)

{

System.out.print(b);

}

System.out.print("\n");

for(int d=2;d<22;)

{

System.out.print(d);

d= d+2;

}

System.out.print("\n");

for(int f=3;f<33;)

{

System.out.print(f);

f=f+3;

}

}

}

hwrd

hwrdrpkns at 2007-7-7 12:28:21 > top of Java-index,Java Essentials,Java Programming...