0

Method generates random number 1 to 4 and skip that is generated once in Java

So it will generate only four numbers randomly and then will generate just 0. Do you accept the challenge?

30th Aug 2019, 7:36 AM
Waqas Shah
Waqas Shah - avatar
4 Respuestas
+ 1
Do you mean if the method generated 2 then I have to skip it if it generates it again? Btw it isn't the place for this kind of questions if you are having trouble with programming then send here your question but for this kind you can send it here: https://www.sololearn.com/Discuss/1270852/?ref=app
30th Aug 2019, 7:43 AM
Eliya Ben Baruch
Eliya Ben Baruch - avatar
+ 1
Thanks for the understanding and I don't think the challnge is really hard
30th Aug 2019, 7:46 AM
Eliya Ben Baruch
Eliya Ben Baruch - avatar
0
Yes, that's what I mean. ok. I'll post there.
30th Aug 2019, 7:45 AM
Waqas Shah
Waqas Shah - avatar
0
let's see your solution then :)
30th Aug 2019, 7:47 AM
Waqas Shah
Waqas Shah - avatar