diff options
Diffstat (limited to 'CST116F2021-Lab7/CST116F2021-Lab7 - Joseph Ten eyck.cpp')
| -rw-r--r-- | CST116F2021-Lab7/CST116F2021-Lab7 - Joseph Ten eyck.cpp | 20 |
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 |