aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301
diff options
context:
space:
mode:
Diffstat (limited to 'ee1301')
-rw-r--r--ee1301/wk6/lab5/strap012_lab5_w_1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ee1301/wk6/lab5/strap012_lab5_w_1.cpp b/ee1301/wk6/lab5/strap012_lab5_w_1.cpp
index d42cd95..2c3a92f 100644
--- a/ee1301/wk6/lab5/strap012_lab5_w_1.cpp
+++ b/ee1301/wk6/lab5/strap012_lab5_w_1.cpp
@@ -16,7 +16,7 @@ int main() {
const int size=4; //Size can be changed for larger hands
DeckOfCards deck;
int hand[size];
- for (int i=0; i<26; i++) {
+ for (int i=0; i<13; i++) {
for (int j=0; j<size; j++) {
hand[j]=deck.dealCard();
}