hey all,
I was wondering:
I have two arrays both rolling dice ( rand()%6+1 ) for 6000 times and i had the sums next to them in a column.... how would I:
1) Determine the frequency of a number on the die
(say 6, and wanting to know how many times it occured)
2) Determine the proportion of total trials on which that number on the die came up (frequency/total trials) so that all the proportions add up to 1
3)Construct a chart that prints the doubles of the arrays into order with double 6's at the top and double 1's at the bottom....
Well im lost here and just need some guidance... thanks guys