CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: papi-ro

Search: Search took 0.01 seconds.

  1. Re: Recursive Function to form the sum of two positive integers a and b?

    I figured it out by myself.



    static int recSum(int x, int y)
    {
    int result = 0;
    if (y == 0)
    {
    return (x);
  2. [RESOLVED] Recursive Function to form the sum of two positive integers a and b?

    Hi all,

    I'm new to c-sharp, so I will appreciate if you guys go easy on me.

    I have to write a recursive function to form the sum of two positive integers a and b. I have to test the program by...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured