aboutsummaryrefslogtreecommitdiff
path: root/Project2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project2.cpp')
-rw-r--r--Project2.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/Project2.cpp b/Project2.cpp
index 80954a6..0cbf859 100644
--- a/Project2.cpp
+++ b/Project2.cpp
@@ -9,10 +9,14 @@ using namespace std;
int main()
{
- int num = 10, choice = 0;
- while (choice != 7)
+ int num = 0, choice = 0;
+ GetData(num);
+
+ while (choice != 6)
{
DisplayMenu(choice);
ProcessMenuChocie(choice, num);
}
+
+ cout << "Exiting Program...";
}