I have to let the user press in a number, and the number that is being inserted is the amount that the program has to run.
so i have this already
System.out.println("How many simulations do you want");
numberSimulations = Input.readLong();
for ( y = 0 ; y = numberSimulation ; y ++) {
SimulationThatHasToBeDoneXNumberOfTimes();
this way doesn't work because it has to be boolean,can anyone tell me another way of doing this??