aboutsummaryrefslogtreecommitdiff
path: root/Project2.cpp
diff options
context:
space:
mode:
authorJacobAKnox <[email protected]>2021-11-10 10:27:00 -0800
committerJacobAKnox <[email protected]>2021-11-10 10:27:00 -0800
commitf895aaa565d4c692476a4152dd39b1a3417a7128 (patch)
treea0f32e15ecaa26cb0114b171c0116fbc25ab0457 /Project2.cpp
parentMerge pull request #4 from austinsworld15/patch-4 (diff)
downloadcst116proj2-1-jacob-k-and-austin-g-f895aaa565d4c692476a4152dd39b1a3417a7128.tar.xz
cst116proj2-1-jacob-k-and-austin-g-f895aaa565d4c692476a4152dd39b1a3417a7128.zip
refacotred some code to make it work
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...";
}