aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-02-03 16:37:18 +0000
committerRossTheRoss <msattr@gmail.com>2019-02-03 16:37:18 +0000
commit38284b967c839ec936a862c20ccd20ebfaa17c2c (patch)
treecb87003dc11261803fda4d39fbe7d65d4e81886c
parentFirst bit done (diff)
downloadhomework-38284b967c839ec936a862c20ccd20ebfaa17c2c.tar
homework-38284b967c839ec936a862c20ccd20ebfaa17c2c.tar.gz
homework-38284b967c839ec936a862c20ccd20ebfaa17c2c.tar.bz2
homework-38284b967c839ec936a862c20ccd20ebfaa17c2c.tar.lz
homework-38284b967c839ec936a862c20ccd20ebfaa17c2c.tar.xz
homework-38284b967c839ec936a862c20ccd20ebfaa17c2c.tar.zst
homework-38284b967c839ec936a862c20ccd20ebfaa17c2c.zip
Fix
-rw-r--r--ee1301/wk1/hw1_directory/strap012_1B.cpp8
1 files changed, 7 insertions, 1 deletions
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