Skip to content

zachGummow/WeightedDie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Weighted Die

Compiling

To compile, run the makefile.

Usage

Simply execute the WeightedDie output file.

Output

The current main sets up a set of biased and unbiased dice and then rolls them 1,000,000 times each. The results are averaged and compared to the expected value of each die respectively.

About

A simple example of a weighted die class.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published