The Coin Toss Payout Simulator Program (C++) creates 10 simulations for a coin toss payout game, where the payout equals 2 raised to the nth power, and n is the number of flips required before the 1st instance of heads (H) is recorded. The sequence of results, payouts, and average payout are printed to the console in table format.
-
Updated
Oct 28, 2022 - C++