Search:

Type: Posts; User: C-Learn

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    979

    /*maybe buggy.!! but try this */ int...

    /*maybe buggy.!! but try this */

    int product_of_evens(int i)
    {
    if (i<=0)
    return 1;
    if((i%2)==0)
    return i*(product_of_evens(i-1));
    else...
  2. Replies
    4
    Views
    979

    /*maybe buggy.!! but try this */ int...

    /*maybe buggy.!! but try this */

    int product_of_evens(int i)
    {
    if (i<=0)
    return 1;
    if((i%2)==0)
    return i*(product_of_evens(i-1));
    else...
Results 1 to 2 of 2