java Logic Random with out repetition

Joined
Dec 20, 2010
Messages
4
Reaction score
0
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

jguiang4th.net23.net/tutorials/java/logic/random_no_repetition.html

or

youtube.com/watch?v=o2bMcItZBs8

post your answer here or post your answer there.
thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,814
Latest member
SpicetreeDigital

Latest Threads

Top