From f0e5ce1c698339697549b39c77cbf61dc50d8e0a Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Sat, 23 Feb 2019 17:43:34 -0600 Subject: ; --- ee1301/wk3/hw3_directory/strap012_HW3A.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ee1301') 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 { -- cgit v1.2.3