aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk2
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ee1301/wk2/hw2_directory/strap012_HW2B.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/ee1301/wk2/hw2_directory/strap012_HW2B.cpp b/ee1301/wk2/hw2_directory/strap012_HW2B.cpp
index ee92ff9..6172718 100644
--- a/ee1301/wk2/hw2_directory/strap012_HW2B.cpp
+++ b/ee1301/wk2/hw2_directory/strap012_HW2B.cpp
@@ -7,7 +7,6 @@ Spring 2019
Homework 2B
Time Travel Calculator
*/
-//The backwards part stumps me.
#include <iostream>
using namespace std;
@@ -48,7 +47,7 @@ int main()
}
timeChange++;
}
-
+
if (travel == 'B')
{
if (hourOG - hourChange <= 0)
@@ -99,4 +98,4 @@ int main()
}
cout << "The new time is: " << hourNew << " " << Time << "M" << endl;
return 0;
-} \ No newline at end of file
+}