aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk3
diff options
context:
space:
mode:
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) {