JohnVanNote / collatz-conjecture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Collartz Conjecture in C++

Some college code I wrote that is probably bad but I refuse to look.

This is a simple C++ program which represents the steps it takes for a positive integer to reach 1, see here: https://en.wikipedia.org/wiki/Collatz_conjecture

In order to build the program run the following, replacing the value of ARG with the value you want to test

make run ARG=100

About


Languages

Language:C++ 77.3%Language:Makefile 22.7%