I have to output a large number, a double precision number using the following code:
fprintf(outFile," %11.0f %d O(g(n))",factorialNotRecursive(index,factCount),factValue);
now the number gets so big that it jumps out of alignment further down the list of output. Once it gets past 11 digits, the max specified it continues to grow larger. Is there a way to cope with this? I'm not sure how big the inputs that will be run on this program.