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

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top