diff --git a/a.out b/a.out new file mode 100755 index 0000000..31a74da Binary files /dev/null and b/a.out differ diff --git a/hello.c b/hello.c new file mode 100644 index 0000000..f82307a --- /dev/null +++ b/hello.c @@ -0,0 +1,15 @@ +#include + +int main() { + long x = 76; + + while(x != 1) { + if(x % 2 == 0) { + x /= 2; + } + else {x = (x * 3) + 1;} + printf("%ld\n", x); + } + + return 0; +}