Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/heyfoz/cpp-coin-toss-payout-simulator

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.
https://github.com/heyfoz/cpp-coin-toss-payout-simulator

coin-toss cpp probability simulator

Last synced: 25 days ago
JSON representation

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.

Awesome Lists containing this project

README

        

# cpp_coin_toss_payout_simulator
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.

Link to .cpp file: Coin Toss Payout Simulator C++ Program

Copyright (c) 2022 ffm5113