diff options
author | RossTheRoss <msattr@gmail.com> | 2019-02-27 12:30:09 -0600 |
---|---|---|
committer | RossTheRoss <msattr@gmail.com> | 2019-02-27 12:30:09 -0600 |
commit | 8fb6f9556478bfba898cf2b802dbac372263b271 (patch) | |
tree | fa1b0b54873681b1a7e87d90b3253d4c090afae2 /ee1301/wk3 | |
parent | Some final touches/editing (diff) | |
download | homework-8fb6f9556478bfba898cf2b802dbac372263b271.tar homework-8fb6f9556478bfba898cf2b802dbac372263b271.tar.gz homework-8fb6f9556478bfba898cf2b802dbac372263b271.tar.bz2 homework-8fb6f9556478bfba898cf2b802dbac372263b271.tar.lz homework-8fb6f9556478bfba898cf2b802dbac372263b271.tar.xz homework-8fb6f9556478bfba898cf2b802dbac372263b271.tar.zst homework-8fb6f9556478bfba898cf2b802dbac372263b271.zip |
Some final fixes
Diffstat (limited to 'ee1301/wk3')
-rw-r--r-- | ee1301/wk3/hw3_directory/strap012_HW3A.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ee1301/wk3/hw3_directory/strap012_HW3A.cpp b/ee1301/wk3/hw3_directory/strap012_HW3A.cpp index 38c2a2b..933d072 100644 --- a/ee1301/wk3/hw3_directory/strap012_HW3A.cpp +++ b/ee1301/wk3/hw3_directory/strap012_HW3A.cpp @@ -24,7 +24,7 @@ int main () { for (d=9; d<=27; d++) { winCount=0; for (long n=1000000; n>0; n--) { //The simulation is always done 1,000,000 times - int winTest = spin_the_wheels(d, w); + winTest = spin_the_wheels(d, w); winCount+=winTest; } if (w==6) { |