I am trying extract 5 numbers from a loop that generates 78 numbers randomly. How would i do that?
for(i=0; i<=78; i++)
{
//i am not sure how to extract the numbers from here randomly
}
//I am also wondering how to take it's average, or am i doing it right?
System.out.println(i/3);
Google was not my friend for me on this project (it is a small portion of an assignment), i couldn't get a solution... unless i google'd wrong.