Computer Science, asked by sushantakarmakarmaa, 10 days ago

it's computer
plz help me​

Attachments:

Answers

Answered by ir892
0

Answer:

public static int getRandom(int max){

// return (int) (Math.random()*max); //incorrect always return zero

return (int) (Math.random()*max);

}

Explanation:

this is find on net

Similar questions