Skip to content

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.

License

Notifications You must be signed in to change notification settings

ffm5113/cpp_coin_toss_payout_simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages