aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Taormina <[email protected]>2021-11-11 21:44:24 -0800
committerTyler Taormina <[email protected]>2021-11-11 21:44:24 -0800
commitc2a9dea6d7e686389ac022756ed0a926a550743f (patch)
tree8e40be9a64b72c5543cd6060f0c808eab6d20c24
parentProblem 1 complete. (diff)
downloadcst116-lab7-till-t-c2a9dea6d7e686389ac022756ed0a926a550743f.tar.xz
cst116-lab7-till-t-c2a9dea6d7e686389ac022756ed0a926a550743f.zip
Updates
-rw-r--r--num1.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/num1.cpp b/num1.cpp
index a74d007..73de4a7 100644
--- a/num1.cpp
+++ b/num1.cpp
@@ -44,15 +44,17 @@ void GatherStrings()
getline (cin, usr_data);
array[limit] = usr_data;
limit += 1;
- cout << "\n\nEnter 1 to add another string to the data base." << endl;
+ cout << "\n\nEnter [1] to add another string to the data base." << endl;
cout << "OR" << endl;
- cout << "Enter 0 to stop and see all the entries we have so far: ";
+ cout << "Enter [0] to stop and see all the entries we have so far: ";
cin >> flag;
ClearBuffer();
}
-
- cout << "\n\nThis is what we have in our database so far...\n\n" << endl;
-
+
+ cout << "==================================================================\n";
+ cout << "This is what we have in our database so far..." << endl;
+ cout << "==================================================================\n";
+
while (i < limit)
{
cout << array[i] << endl;