for(int i;i<100;i++){ //get a average of 100 times thru still high while loop
No. You have no clue how many times this will loop BECAUSE YOU ARE NOT INITIALIZING the loop index.
Local variables, like i, are not given initial values by the compiler. YOU have to do that.