aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-04-22 12:58:34 -0500
committerRossTheRoss <msattr@gmail.com>2019-04-22 12:58:34 -0500
commit21831aa704646e793e42abd683b4d3d229a8a52e (patch)
treea8a4e7930f90e9848e75239949b1902b544fa0e5
parentFinish Lab late (diff)
downloadhomework-21831aa704646e793e42abd683b4d3d229a8a52e.tar
homework-21831aa704646e793e42abd683b4d3d229a8a52e.tar.gz
homework-21831aa704646e793e42abd683b4d3d229a8a52e.tar.bz2
homework-21831aa704646e793e42abd683b4d3d229a8a52e.tar.lz
homework-21831aa704646e793e42abd683b4d3d229a8a52e.tar.xz
homework-21831aa704646e793e42abd683b4d3d229a8a52e.tar.zst
homework-21831aa704646e793e42abd683b4d3d229a8a52e.zip
Fix
Diffstat (limited to '')
-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();
}