aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CST116F2021-Lab3/CST116F2021-Lab3-Guertin.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/CST116F2021-Lab3/CST116F2021-Lab3-Guertin.cpp b/CST116F2021-Lab3/CST116F2021-Lab3-Guertin.cpp
index 7c242fc..77b28a7 100644
--- a/CST116F2021-Lab3/CST116F2021-Lab3-Guertin.cpp
+++ b/CST116F2021-Lab3/CST116F2021-Lab3-Guertin.cpp
@@ -76,5 +76,36 @@ int main()
5b 7.4 pg 161 #1
+#include <iostream>
+#include <iomanip>
+using std::endl;
+using std::cout;
+
+int main()
+{
+
+ int selection;
+
+ cout << "Student Grade program\n -Main Menu- \n\n1. Enter Name\n2. Enter test scores\n3. Display test scores\n9. Exit\n\nPlease enter your choice from the list above\n\n";
+ std::cin >> selection;
+
+ switch (selection)
+ {
+ case 1 :
+ cout << "\n\nYour choice is: Enter Name?\n\n";
+ break;
+ case 2:
+ cout << "\n\nYour choice is: Enter Test Scores?\n\n";
+ break;
+ case 3:
+ cout << "\n\nYour choice is: Display Test Scores?\n\n";
+ break;
+ case 9:
+ cout << "\n\nYour choice is: to Exit?\n\n";
+ break;
+ default:
+ cout << "\n\nYour selection is invalid... Try again\n\n";
+ }
+}