+static void
+_print_stats (int found[WORD_GAME_MAX_WORD_LENGTH+1],
+ int possible[WORD_GAME_MAX_WORD_LENGTH+1],
+ int found_total,
+ int possible_total)
+{
+ int i;
+
+ for (i = 2; i <= 17; i++)
+ if (possible[i])
+ printf ("%d:(%d/%d) ", i, found[i], possible[i]);
+
+ printf ("total:(%d/%d = %.2f%%)\n",
+ found_total, possible_total,
+ 100 * (double) found_total / possible_total);
+}
+
+