When I try to execute my program with an argument, it only returns a single result, regardless of the argument. It worked as expected when I did not attempt to implement arguments.
I'm just now learning C, and I've written a Collatz Conjecture evaluator to review the syntax I've learned. Other sources say to just add an argument in the main method and then execute a.out with your argument after. So far that hasn't worked as expected. Am I implementing arguments incorrectly? Is the body of the program itself erroneous?