Jump to content
Can't remember your login details? Read more... ×

chr0n1x

Lurker
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Serf

About chr0n1x

  • Rank
    Serf
  1. chr0n1x

    Windows Server perhaps?

    It recently updated to Server 2008 from Server 2003, although my MS contact tells me that 2008 was there all along. :) Server 2008 requires 512mb of RAM and a 1Ghz processor, and I have found those are reliable specs, so I guess as long as you dont add too much extra, which you wont need for a server it will run fine.
  2. chr0n1x

    Windows Server perhaps?

    http://www.dreamspark.com Server 2008 Standard free for Uni students, as long as your uni is supported, or you have a ISIC card. http://www.microsoft.com/windowsserver2008...quirements.aspx Remember Atom is only x86 (for the N series) so don't bother with x64.
  3. chr0n1x

    LINQPad rocks!

    LINQPad is awesome, used it plenty of times to test some things, it saves having to create a new project to test something simple. I use many of the tools at http://www.hanselman.com/blog/ScottHanselm...ForWindows.aspx Pretty comprehensive list that includes Snippet Compiler. (Which I must say is a godsend)
  4. chr0n1x

    First time Java

    Hi Kraz3, First up, you're getting the double up because you are asking for the input once outside the loop, and then again inside the loop. I would remove the read from outside the loop. (It's right above it) Your array creation code is correct, so to set each reviewer score inside the loop, I would do the following: /*Loop from 1..10. For each loop, you're asked to enter a number between 1..10. */ for (count = 0; count < 10; count = count + 1) { if (group >= 1 && group <= 10) { System.out.print("Please enter the rating for reviewer " + (count + 1) + ": "); group[count] = console.readInt(); } else { System.out.print("The rating must be within 1..10. Try again: "); group[count] = console.readInt(); } } Basically I have changed each of your console.readInt() lines to assign the input to an element of the array using the counter in the for loop. One note, in your for line, you can change it from for (count = 0; count < 10; count = count + 1)to for (count = 0; count < 10; count++) and it should work fine. That is the increment operator, which is just shorthand for count = count + 1, which is what you are already doing. Hope this helps. :)
×