From 81d2637ea6fdef0177e9b89763059945d6d25e8f Mon Sep 17 00:00:00 2001 From: James Lawrance Date: Wed, 13 Oct 2021 19:42:57 -0700 Subject: Commit 2 10/13/21 --- CST116F2021-Lab3/Lawrance CST116-Lab3.cpp | 56 +++++++++++++++---------------- 1 file changed, 27 insertions(+), 29 deletions(-) diff --git a/CST116F2021-Lab3/Lawrance CST116-Lab3.cpp b/CST116F2021-Lab3/Lawrance CST116-Lab3.cpp index a5beedb..d7b6b7d 100644 --- a/CST116F2021-Lab3/Lawrance CST116-Lab3.cpp +++ b/CST116F2021-Lab3/Lawrance CST116-Lab3.cpp @@ -13,7 +13,6 @@ using namespace std; // cout << a + 1 << endl; // cout << a << endl; // cout << --a << endl; - //} //5a @@ -42,31 +41,30 @@ using namespace std; //5b //7.4 Exercises -int main() -{ - char menu_selection; - cout << "Student Grade Program" << endl; - cout << "- Main Menu -" << endl << endl; - cout << "1. Enter name\n2. Enter test scores\n3. Display test scores\n9. Exit" - << endl << endl; - cout << "Please enter your choice from the list above "; - - cin >> menu_selection; - - switch (menu_selection) - { - case '1': - cout << "Enter name"; - break; - case '2': - cout << "Enter test scores"; - break; - case '3': - cout << "Display test scores"; - break; - case '9': - cout << "Exit"; - break; - } - -} \ No newline at end of file +//int main() +//{ +// char menu_selection; +// cout << "Student Grade Program" << endl; +// cout << "- Main Menu -" << endl << endl; +// cout << "1. Enter name\n2. Enter test scores\n3. Display test scores\n9. Exit" +// << endl << endl; +// cout << "Please enter your choice from the list above "; +// +// cin >> menu_selection; +// +// switch (menu_selection) +// { +// case '1': +// cout << "Enter name"; +// break; +// case '2': +// cout << "Enter test scores"; +// break; +// case '3': +// cout << "Display test scores"; +// break; +// case '9': +// cout << "Exit"; +// break; +// } +//} \ No newline at end of file -- cgit v1.2.3