Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: java Logic Random with out repetition

  1. #1
    Junior Member
    Join Date
    Dec 2010
    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default java Logic Random with out repetition

    Hello guys this is simple but this is hard for beginner.

    Try to test your logic this is called random number without repetition.

    • Create 3 int variables.
    • Each 3 variables are random numbers 1 up to 3.
    • Don’t use array.
    • Your goal is to print these three variables without duplicate.

    Your output must like this just link one of these two link

    http://jguiang4th.net23.net/tutorial...epetition.html

    or

    YouTube - java logic random no repitition.mpg

    post your answer here or post your answer there.
    thanks


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,262
    Thanks
    176
    Thanked 820 Times in 763 Posts
    Blog Entries
    5

    Default Re: java Logic Random with out repetition

    We are not going to just do this for you, but will try and help you along the way if you demonstrate you've made an effort to solve the problem and get stuck along the way. So I suggest you make an effort and if you get stuck post your code with a clear question we can help you with. Suggested reading: How to ask questions

    Edit: and please don't post the same question twice to the forums.
    Last edited by copeg; January 13th, 2011 at 02:31 PM.

Similar Threads

  1. Generation of random number using random class
    By JavaPF in forum Java SE API Tutorials
    Replies: 1
    Last Post: December 7th, 2011, 04:46 PM
  2. Java Dos Logic Test count all non increasing number
    By Jhovarie in forum Object Oriented Programming
    Replies: 3
    Last Post: January 13th, 2011, 02:28 PM
  3. Need Help with Operators/ logic
    By codekiller in forum What's Wrong With My Code?
    Replies: 5
    Last Post: October 3rd, 2010, 09:25 AM
  4. Java Question Need Help Restarting the Values of Variables from Random Numbers So Out
    By JavaStudent1990 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: July 24th, 2010, 02:25 PM
  5. [SOLVED] changing character repetition
    By vendetta in forum Algorithms & Recursion
    Replies: 2
    Last Post: February 16th, 2010, 05:16 PM