aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-02-27 12:30:09 -0600
committerRossTheRoss <msattr@gmail.com>2019-02-27 12:30:09 -0600
commit8fb6f9556478bfba898cf2b802dbac372263b271 (patch)
treefa1b0b54873681b1a7e87d90b3253d4c090afae2
parentSome final touches/editing (diff)
downloadhomework-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 '')
-rw-r--r--ee1301/wk3/hw3_directory/strap012_HW3A.cpp2
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) {