From 38284b967c839ec936a862c20ccd20ebfaa17c2c Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Sun, 3 Feb 2019 16:37:18 +0000 Subject: Fix --- ee1301/wk1/hw1_directory/strap012_1B.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ee1301/wk1/hw1_directory/strap012_1B.cpp b/ee1301/wk1/hw1_directory/strap012_1B.cpp index 472f96d..02fd560 100644 --- a/ee1301/wk1/hw1_directory/strap012_1B.cpp +++ b/ee1301/wk1/hw1_directory/strap012_1B.cpp @@ -9,11 +9,17 @@ int main() cin >> option; if (option == "i") { + cout << "E"; + }else{ if (option == "f") { + cout << "e"; + }else{ - cout << "nah."; + + cout << "Invalid option."; } } + cout << endl; } \ No newline at end of file -- cgit v1.2.3