Count to 1000!

  • Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

Saad Asad

Member
Feb 7, 2015
40
20
68
Pasadena, California
public class count {
public static void main(String args[]) args {

int x = 0;
int y = 1000;

while (x < y) {
System.out.println(x);
x++;
}
}
}
 
Last edited:
General chit-chat
Help Users
    Chat Bot: Dave Smith has posted a new reply in the thread "Console ID #8638".