edenmchan13 edenmchan13 08-08-2024 Computers and Technology Answered int rand = (int) Math.random() * 5; for(int i = 0; i < 5; i ) { if(rand == i) { break; } } what is the best and worst case