Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/heyfoz/cpp-coin-toss-payout-simulator
- Owner: heyfoz
- License: mit
- Created: 2022-10-15T02:51:35.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-28T22:50:35.000Z (about 2 years ago)
- Last Synced: 2024-10-14T18:11:56.664Z (2 months ago)
- Topics: coin-toss, cpp, probability, simulator
- Language: C++
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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