Thread: Recursive Help

  1. #1

    Recursive Help

    how do i right a recursive function which gets two parameters passed in. one the starting balance and the other goal balance. I need to find out how long it would take to get to the goal balance by using an annual percentage rate of 3.5%

    Thank you in advance

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    #define Type something
    Type myFunction( Type param1, Type param2 )
    { something here...
        myFunction( someValue, someOtherValue );
        ...possibly do something else...
    Well there ya go. How about reading the forum rules next time, and making a valid effort first before begging for help?

    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. recursive function
    By technosavvy in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 05:42 AM
  2. difference between recursive and iterative
    By Micko in forum C Programming
    Replies: 33
    Last Post: 07-06-2004, 09:34 PM
  3. Algorithm help (Changing from Recursive to Non Recursive)
    By Thantos in forum C++ Programming
    Replies: 1
    Last Post: 04-25-2004, 07:27 PM
  4. Request for comments
    By Prelude in forum A Brief History of
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM
  5. How to change recursive loop to non recursive loop
    By ooosawaddee3 in forum C Programming
    Replies: 1
    Last Post: 06-24-2002, 08:15 AM