How do I run code multiple times in a sing run? : I am working in java using eclipse. Here i am calculating average utilization of machines. I want to run this code 20 time and then need to take average of this code. Is it possible to do the same. I am using simple formula for calculations:

AU=ActCPUtime/(max*3);

I need to run this program for different values of ActCPUtime and max which i can get in different run. Please help me out with this. Thank You
