diff options
author | RossTheRoss <msattr@gmail.com> | 2019-02-25 21:48:20 -0600 |
---|---|---|
committer | RossTheRoss <msattr@gmail.com> | 2019-02-25 21:48:20 -0600 |
commit | 8b19aaea12a7ec0580e632462dcdba5f7823be2a (patch) | |
tree | ad2fb0d06cabc99a3bf036c640990ffc5df8264e /ee1301/wk2/coolHipExample.cpp | |
parent | Some minor tweaking (diff) | |
download | homework-8b19aaea12a7ec0580e632462dcdba5f7823be2a.tar homework-8b19aaea12a7ec0580e632462dcdba5f7823be2a.tar.gz homework-8b19aaea12a7ec0580e632462dcdba5f7823be2a.tar.bz2 homework-8b19aaea12a7ec0580e632462dcdba5f7823be2a.tar.lz homework-8b19aaea12a7ec0580e632462dcdba5f7823be2a.tar.xz homework-8b19aaea12a7ec0580e632462dcdba5f7823be2a.tar.zst homework-8b19aaea12a7ec0580e632462dcdba5f7823be2a.zip |
E
Diffstat (limited to 'ee1301/wk2/coolHipExample.cpp')
-rw-r--r-- | ee1301/wk2/coolHipExample.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/ee1301/wk2/coolHipExample.cpp b/ee1301/wk2/coolHipExample.cpp deleted file mode 100644 index e86f1b7..0000000 --- a/ee1301/wk2/coolHipExample.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include <iostream> -#include <iomanip> -#include <cmath> -using namespace std; - -int main () { - int x=2,n=0; - int og=x; - for (int i=n; i>1; i--){ - x*=og; - } - - cout << og << "^" << n << "=" << x << endl; -}
\ No newline at end of file |