facebook

Fairly new to Eclipse, need some help

  1. MyEclipse IDE
  2.  > 
  3. Comments
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #216738 Reply

    I’ve just started learning Java and Eclipse within the last month and am stuck on a project.

    I have to create a random phone number generator in the form xxx-xxx-xxxx, but the first 3 numbers cannot contain an 8 or 9 and the second set of three numbers cannot exceed 742.

    The part I am stuck with is how to not include the 8 or the 9. I can create a three digit random number, but I can’t quite figure out how to do this.

    Hopefully I’ve posted this in the right place and somone can help me out.

    Peace,
    Huw

    #216791 Reply

    Riyad Kalla
    Member

    Moving to Random Thoughts.

    FYI: Huw this forum is for customers using the MyEclipse plugin for Eclipse. Its a J2EE IDE. For straight ‘getting started’ help with Eclipse, please see the eclipse site or check out the help, its pretty good.
    You can also google for some good getting started tutorials.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Fairly new to Eclipse, need some help

You must be logged in to post in the forum log in