Fixed progress problem by using long long int

This commit is contained in:
Deathsbreed
2014-11-04 15:56:07 -06:00
parent 4d89477bce
commit bea82bc7f5
2 changed files with 15 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
CoinToss
========
The creation of this program has a little story. I was in math class and a classmate was playing around with the probability simulator on his TI Calculator. He was trying to do as many coin tosses as he could, until finally he reached 9999, which was the limit of tosses for the simulator. So I decided that I would create this, which allows you to do more than that, specifically 2,147,473,649 more times than that.
The creation of this program has a little story. I was in math class and a classmate was playing around with the probability simulator on his TI Calculator. He was trying to do as many coin tosses as he could, until finally he reached 9999, which was the limit of tosses for the simulator. So I decided that I would create this, which allows you to do more than that, specifically 9223372036854765808 more trials than that.
### Compiling
To compile make sure you have the GNU C Compiler installed (GCC) and just go to the root directory of this project and run: