Click here to Skip to main content
15,912,400 members

Comments by Member 8863422 (Top 6 by date)

Member 8863422 21-Apr-12 19:39pm View    
I'll get on that! Thanks.
Member 8863422 21-Apr-12 18:59pm View    
Ok. I got the factorial function to work. Now the only thing giving me trouble is the compare function. For some reason it outputs the first number I input and doesn't compare them. I'll do an update of the code above.
Member 8863422 21-Apr-12 18:38pm View    
Oh ok, so should I get rid of the loop or the return?
Member 8863422 21-Apr-12 18:33pm View    
The compare function is supposed to take two big numbers and compare them. a is bigger then it couts a 1, if a is smaller then it couts a -1, if they are equal then it couts a 0. The program should ask for numbers again once a calculation has been done. It only breaks when you do ^C
Member 8863422 21-Apr-12 18:20pm View    
That is definitely a late-night programming typo!