Friday, 8 February 2013

15

Find the output of calculate(6)

public int calculate(int num)
{
* if(num==0)
** *return 1;
* else
** *return calculate(num-1)*num;
}
Join me on Facebook