User profile: xibz

User info
User name:xibz
History
Joined:
Number of posts:4
Latest posts:

C++ Prime Factor Program
I think the Sieve of Eratosthenes algorithm may be slower in this case. Because you simply have to f...

C++ Prime Factor Program
I have no idea what your trying to do, but I would suggest writing a isprime function and writing a ...

Factorial via recursion
Haha yea, forgot about those numbers being less than 2. Good catch.

Factorial via recursion
Your logic is way off. And your also missing a ';' at line 22. [code] int factorial(int n) { i...