aboutsummaryrefslogtreecommitdiff
path: root/CST116F2021-Lab7/CST116F2021-Lab7 - Joseph Ten eyck.cpp
diff options
context:
space:
mode:
authorJoseph Ten Eyck <[email protected]>2021-11-16 20:48:42 -0800
committerJoseph Ten Eyck <[email protected]>2021-11-16 20:48:42 -0800
commit24f1c58635a8bb9963e2750729d8b1f5e400fa05 (patch)
tree57e49850b2ba33e851b1f8a84b957d7d3d0614b3 /CST116F2021-Lab7/CST116F2021-Lab7 - Joseph Ten eyck.cpp
parentAdd online IDE url (diff)
downloadcst116-lab7-josephteneyck-master.tar.xz
cst116-lab7-josephteneyck-master.zip
Lab 7 homework program complete!HEADmaster
Diffstat (limited to 'CST116F2021-Lab7/CST116F2021-Lab7 - Joseph Ten eyck.cpp')
-rw-r--r--CST116F2021-Lab7/CST116F2021-Lab7 - Joseph Ten eyck.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/CST116F2021-Lab7/CST116F2021-Lab7 - Joseph Ten eyck.cpp b/CST116F2021-Lab7/CST116F2021-Lab7 - Joseph Ten eyck.cpp
new file mode 100644
index 0000000..f78c8e7
--- /dev/null
+++ b/CST116F2021-Lab7/CST116F2021-Lab7 - Joseph Ten eyck.cpp
@@ -0,0 +1,20 @@
+//=============================================
+// CODE FOR MODULE 7: LAB 7 PROGRAM IS BELOW
+//=============================================
+
+#include "Header.h"
+
+int main()
+{
+ int menu_choice = 0;
+ int current_place = 1;
+
+ string string_array[MAX_STRINGS];
+
+ do
+ {
+ displayMenu(menu_choice); //displays menu, takes in user menu choice
+
+ processMenuChoice(menu_choice, string_array, current_place); //processes menu choice, calls relevant function
+ } while (menu_choice != 5);
+} \ No newline at end of file