aboutsummaryrefslogtreecommitdiff
path: root/src.cpp
diff options
context:
space:
mode:
authorTyler Taormina <[email protected]>2021-11-09 10:18:20 -0800
committerTyler Taormina <[email protected]>2021-11-09 10:18:20 -0800
commit5b5ecb629cb7750f64ee2159dedf73b3ac339f72 (patch)
treeb3c37c0ba7a9408e5de2b6cbc6afebccb062e80a /src.cpp
parentNov 8, 2021 Tyler (diff)
downloadcst116proj2-tyisabella-5b5ecb629cb7750f64ee2159dedf73b3ac339f72.tar.xz
cst116proj2-tyisabella-5b5ecb629cb7750f64ee2159dedf73b3ac339f72.zip
Edited Program closing output.
No major changes.
Diffstat (limited to 'src.cpp')
-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.