diff options
Diffstat (limited to 'ee1301/wk2')
-rw-r--r-- | ee1301/wk2/coolHipExample.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/ee1301/wk2/coolHipExample.c b/ee1301/wk2/coolHipExample.c deleted file mode 100644 index e86f1b7..0000000 --- a/ee1301/wk2/coolHipExample.c +++ /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 |