diff options
Diffstat (limited to 'CST116F2021-Lab3/Lawrance CST116-Lab3.cpp')
| -rw-r--r-- | CST116F2021-Lab3/Lawrance CST116-Lab3.cpp | 56 |
1 files 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 |