From c2a9dea6d7e686389ac022756ed0a926a550743f Mon Sep 17 00:00:00 2001 From: Tyler Taormina Date: Thu, 11 Nov 2021 21:44:24 -0800 Subject: Updates --- num1.cpp | 12 +++++++----- 1 file 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; -- cgit v1.2.3