User: amarthy

  • Public profile

User profile: amarthy

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

Converting recursive function into a loop
also got it to work with the for loop! [code]int factorial(int n) { int acc = 1; for (; n >= 1; -...

Converting recursive function into a loop
that is just returning the final value. i actually got it to work by doing a while loop. [code]int...

Converting recursive function into a loop
I am trying to convert a recursive function into a for loop but it is not working properly. Please a...

Recursive vs Loops
I am trying to convert a recursive function to a loop. However, it is not working. Please advise wha...

This user does not accept Private Messages