aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk1/lab1/strap012_lab1_w_1.cpp
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-02-03 13:13:55 -0600
committerRossTheRoss <msattr@gmail.com>2019-02-03 13:13:55 -0600
commit322d862898bbafd84a33ff0dfc03f34e365fffeb (patch)
treed3c8b8f38cc02d43ffdfcab4e56d667373db7192 /ee1301/wk1/lab1/strap012_lab1_w_1.cpp
parentFirst two bits done (diff)
downloadhomework-322d862898bbafd84a33ff0dfc03f34e365fffeb.tar
homework-322d862898bbafd84a33ff0dfc03f34e365fffeb.tar.gz
homework-322d862898bbafd84a33ff0dfc03f34e365fffeb.tar.bz2
homework-322d862898bbafd84a33ff0dfc03f34e365fffeb.tar.lz
homework-322d862898bbafd84a33ff0dfc03f34e365fffeb.tar.xz
homework-322d862898bbafd84a33ff0dfc03f34e365fffeb.tar.zst
homework-322d862898bbafd84a33ff0dfc03f34e365fffeb.zip
Fixin things, breaking others
Diffstat (limited to 'ee1301/wk1/lab1/strap012_lab1_w_1.cpp')
-rw-r--r--ee1301/wk1/lab1/strap012_lab1_w_1.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/ee1301/wk1/lab1/strap012_lab1_w_1.cpp b/ee1301/wk1/lab1/strap012_lab1_w_1.cpp
index e69de29..9f70b87 100644
--- a/ee1301/wk1/lab1/strap012_lab1_w_1.cpp
+++ b/ee1301/wk1/lab1/strap012_lab1_w_1.cpp
@@ -0,0 +1,9 @@
+#include <iostream>
+#include <string>
+using namespace std;
+
+int main()
+{
+ int x = 5;
+ cout << x << "! = " << x * (x / x + x / x + x / x + x / x) * (x / x + x / x + x / x) * (x / x + x / x) * (x / x) << endl;
+} \ No newline at end of file