aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-02-23 17:43:34 -0600
committerRossTheRoss <msattr@gmail.com>2019-02-23 17:43:34 -0600
commitf0e5ce1c698339697549b39c77cbf61dc50d8e0a (patch)
tree34b1cfe31856db51429cc113d54f240dda27c21e /ee1301
parentFix dumb mistakes (diff)
downloadhomework-f0e5ce1c698339697549b39c77cbf61dc50d8e0a.tar
homework-f0e5ce1c698339697549b39c77cbf61dc50d8e0a.tar.gz
homework-f0e5ce1c698339697549b39c77cbf61dc50d8e0a.tar.bz2
homework-f0e5ce1c698339697549b39c77cbf61dc50d8e0a.tar.lz
homework-f0e5ce1c698339697549b39c77cbf61dc50d8e0a.tar.xz
homework-f0e5ce1c698339697549b39c77cbf61dc50d8e0a.tar.zst
homework-f0e5ce1c698339697549b39c77cbf61dc50d8e0a.zip
;
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 7e1cfbb..1292657 100644
--- a/ee1301/wk3/hw3_directory/strap012_HW3A.cpp
+++ b/ee1301/wk3/hw3_directory/strap012_HW3A.cpp
@@ -17,7 +17,7 @@ int spin_the_wheel(int d, int w) {
int spinOG, spinNew;
spinOG = rand() % d + 1;
for (int i=w; i>0; i--) {
- spinNew = rand() % d + 1
+ spinNew = rand() % d + 1;
if (spinNew==spingOG) {
//Do nothing
} else {