Ok, I get it now. Thank you, anon.
Type: Posts; User: dember
Ok, I get it now. Thank you, anon.
First of all, THX for your fast and kind reply.
You are right, it can be done with a simple for loop :-D
However, are you implying that basically every function that has no return statement for...
Hi everyone,
I am a C++ newbie. Here is the code (3n+1 algorithm) I am having problem with. No matter what the input number is (to the alg function), the result is always the same (namely,...