Number of kids
ValuePercentage
Total # of kids %10lu %5.1f
Boys %10lu %5.1f
Girls %10lu %5.1f
\n" "\n", number_of_kids, pc(number_of_kids,number_of_kids), total_boys, pc(total_boys,number_of_kids), total_girls, pc(total_girls,number_of_kids) ); printf( "\n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" "
Pair Stats
ValuePercentage
Total # of pairs %10lu %5.1f
Boy/Boy %10lu %5.1f
Boy/Girl %10lu %5.1f
Girl/Boy %10lu %5.1f
Girl/Girl %10lu %5.1f
At least one Boy %10lu %5.1f
At least one Girl%10lu %5.1f
\n" "\n", number_of_pairs, pc(number_of_pairs,number_of_pairs), total_boy_boy, pc(total_boy_boy,number_of_pairs), total_boy_girl, pc(total_boy_girl,number_of_pairs), total_girl_boy, pc(total_girl_boy,number_of_pairs), total_girl_girl, pc(total_girl_girl,number_of_pairs), total_at_least_one_boy, pc(total_at_least_one_boy,number_of_pairs), total_at_least_one_girl,pc(total_at_least_one_girl,number_of_pairs) ); printf( "\n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" "
Disclosure table #1—Overview
Value Percentage
Total # of pairs %10lu %5.1f
Disclosed First Kid %10lu %5.1f
Disclosed Second Kid%10lu %5.1f
Disclosed Girl %10lu %5.1f
Disclosed Boy %10lu %5.1f
\n" "\n", number_of_pairs, pc(number_of_pairs,number_of_pairs), disclose_first, pc(disclose_first,number_of_pairs), disclose_second, pc(disclose_second,number_of_pairs), disclose_a_girl, pc(disclose_a_girl,number_of_pairs), disclose_a_boy, pc(disclose_a_boy,number_of_pairs) ); printf( "\n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" "
Disclosure table #2—disclosed a Girl
Value Percentage
Disclosed Girl %10lu %5.1f
First kid %10lu %5.1f
Second kid %10lu %5.1f
Disclosed Girl, other girl %10lu %5.1f
First kid %10lu %5.1f
Second kid %10lu %5.1f
Disclosed Girl, other boy %10lu %5.1f
First kid %10lu %5.1f
Second kid %10lu %5.1f
Disclosed Girl, pick girl, correct %10lu %5.1f
First kid %10lu %5.1f
Second kid %10lu %5.1f
Disclosed Girl, pick girl, wrong %10lu %5.1f
First kid %10lu %5.1f
Second kid %10lu %5.1f
Disclosed Girl, pick boy, correct %10lu %5.1f
First kid %10lu %5.1f
Second kid %10lu %5.1f
Disclosed Girl, pick boy, wrong %10lu %5.1f
First kid %10lu %5.1f
Second kid %10lu %5.1f
\n" "\n", disclose_a_girl, pc(disclose_a_girl, disclose_a_girl), disclose_first_girl, pc(disclose_first_girl, disclose_a_girl), disclose_second_girl, pc(disclose_second_girl, disclose_a_girl), disclose_a_girl_then_girl, pc(disclose_a_girl_then_girl, disclose_a_girl), disclose_first_girl_then_girl, pc(disclose_first_girl_then_girl, disclose_a_girl), disclose_second_girl_then_girl, pc(disclose_second_girl_then_girl, disclose_a_girl), disclose_a_girl_then_boy, pc(disclose_a_girl_then_boy, disclose_a_girl), disclose_first_girl_then_boy, pc(disclose_first_girl_then_boy, disclose_a_girl), disclose_second_girl_then_girl, pc(disclose_second_girl_then_girl, disclose_a_girl), disclose_a_girl_pick_girl_win, pc(disclose_a_girl_pick_girl_win, disclose_a_girl), disclose_first_girl_pick_girl_win, pc(disclose_first_girl_pick_girl_win, disclose_a_girl), disclose_second_girl_pick_girl_win, pc(disclose_second_girl_pick_girl_win, disclose_a_girl), disclose_a_girl_pick_girl_lose, pc(disclose_a_girl_pick_girl_lose, disclose_a_girl), disclose_first_girl_pick_girl_lose, pc(disclose_first_girl_pick_girl_lose, disclose_a_girl), disclose_second_girl_pick_girl_lose, pc(disclose_second_girl_pick_girl_lose, disclose_a_girl), disclose_a_girl_pick_boy_win, pc(disclose_a_girl_pick_boy_win, disclose_a_girl), disclose_first_girl_pick_boy_win, pc(disclose_first_girl_pick_boy_win, disclose_a_girl), disclose_second_girl_pick_boy_win, pc(disclose_second_girl_pick_boy_win, disclose_a_girl), disclose_a_girl_pick_boy_lose, pc(disclose_a_girl_pick_boy_lose, disclose_a_girl), disclose_first_girl_pick_boy_lose, pc(disclose_first_girl_pick_boy_lose, disclose_a_girl), disclose_second_girl_pick_boy_lose, pc(disclose_second_girl_pick_boy_lose, disclose_a_girl) ); return EXIT_SUCCESS; }