// dice.c - wdg 2008 // rolls a die 100 times and prints the statistics #include #include // for random number generator #include // for time function const int MAX = 100; const int SIDES = 6; int main(void) { int i,j; srand(time(0)); // seed random number generator via internal clock int count[SIDES]; for(i=0; i