aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src.cpp b/src.cpp
index 29755ac..ca8d017 100644
--- a/src.cpp
+++ b/src.cpp
@@ -104,13 +104,16 @@ void ProcessMenuChoice (int menu_choice, int& usr_data) {
if (program_rerun == 1)
main();
-
+ else {
cout << "================================================================" << endl;
cout << "Program Closing..." << endl;
cout << "================================================================\n\n\n" << endl;
}
+ }
+
+
void IsPosNeg (int usr_data) {
// checks whether the number entered is positive or negative.
// Displays appropriate message.