aboutsummaryrefslogtreecommitdiff
path: root/CST116F2021-Lab5/p.273.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CST116F2021-Lab5/p.273.cpp')
-rw-r--r--CST116F2021-Lab5/p.273.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/CST116F2021-Lab5/p.273.cpp b/CST116F2021-Lab5/p.273.cpp
index fd493cd..6a7d6c9 100644
--- a/CST116F2021-Lab5/p.273.cpp
+++ b/CST116F2021-Lab5/p.273.cpp
@@ -29,7 +29,10 @@ void CompareInput(char comp_1[], char comp_2[])
}
}
else
+ {
cout << "Different.";
+ i = 6;
+ }
} while (i < CHAR_LIMIT);
}