0
i need one random(must be 10 numbers positive and 10 negetive )ex to use continue and break
10 ответов
+ 4
I would never send full code since this would destroy the learning factor. You propably need this for school but you are too lazy to try to solve it.
+ 3
(int) Math.eandom ()×20-10; oder new Random.nextInt (20)-10;
+ 3
while (x <10){
if (low percentage)break;
if (percentage)continue;
else
if(percentage) x++;
else x---;
}
hope that helps you a little bit.
+ 2
for what should I use continue and break?
+ 1
i need one random to find 10 Arch nu. and 10 pair nu.
0
send full code and use continue and berak
0
i have to use continue and break
0
thanks
0
and how i can find Arch numbers and pair numbers in that rondom
0
what do you mean by them?