
The Serial Monitor output shows the Mean calculated from the 100 random numbers generated by the program.
This variable must be a 'float' in order to show the result to (default) 2 decimal places; an 'int' or 'long' merely gives an integer - I found that this usually turned out to be 4, & occasionally 5 - unsatisfactory.
Not the best, but it'll have to do
ReplyDelete