Jump to content
Mr. Green Gaming

1 to a 1000


Corby

Recommended Posts

  • Replies 388
  • Created
  • Last Reply

Top Posters In This Topic

Post 356

Here's more easier way to get numbers from 1 to 1000:

public class oneToThousand {	public static void main(String[] args) {			int i = 0;				while (i <= 1000) {			System.out.println(i);		}	}}

k I don't know that language but errr, infinite loop? Since i doesn't change.

Post 357.

Looks like java to me and yes, that is infinite.

Link to comment

…………………...„„-~^^~„-„„_

………………„-^*'' : : „'' : : : : *-„

…………..„-* : : :„„--/ : : : : : : : '\

…………./ : : „-* . .| : : : : : : : : '|

……….../ : „-* . . . | : : : : : : : : |

………...\„-* . . . . .| : : : : : : : :'|

……….../ . . . . . . '| : : : : : : : :|

……..../ . . . . . . . .'\ : : : : : : : |

……../ . . . . . . . . . .\ : : : : : : :|

……./ . . . . . . . . . . . '\ : : : : : /

….../ . . . . . . . . . . . . . *-„„„„-*'

….'/ . . . . . . . . . . . . . . '|

…/ . . . . . . . ./ . . . . . . .|

../ . . . . . . . .'/ . . . . . . .'|

./ . . . . . . . . / . . . . . . .'|

'/ . . . . . . . . . . . . . . . .'|

'| . . . . . \ . . . . . . . . . .|

'| . . . . . . \„_^- „ . . . . .'|

'| . . . . . . . . .'\ .\ ./ '/ . |

| .\ . . . . . . . . . \ .'' / . '|

| . . . . . . . . . . / .'/ . . .|

| . . . . . . .| . . / ./ ./ . .|

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...