IDNLearn.com is the place where your questions are met with thoughtful and precise answers. Get thorough and trustworthy answers to your queries from our extensive network of knowledgeable professionals.

int rand = (int) Math.random() * 5; for(int i = 0; i < 5; i ) { if(rand == i) { break; } }

what is the best and worst case