diff options
| author | austinsworld15 <[email protected]> | 2021-10-19 15:01:57 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-19 15:01:57 -0700 |
| commit | b15380920ebeeb59f08c6975ff2365c411cff0d7 (patch) | |
| tree | e066c96bfbaf65822d4dffba50f6ec42dbd38bfe | |
| parent | fourth push (diff) | |
| download | cst116-lab3-austinsworld15-b15380920ebeeb59f08c6975ff2365c411cff0d7.tar.xz cst116-lab3-austinsworld15-b15380920ebeeb59f08c6975ff2365c411cff0d7.zip | |
Update CST116F2021-Lab3-Guertin.cpp
| -rw-r--r-- | CST116F2021-Lab3/CST116F2021-Lab3-Guertin.cpp | 31 |
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"; + } +} |