Answers for "recursive function c#"

C#
0

recursive function c#

public static double Factorial(int number)
{
  	if (number == 0)
	{
  		return 1;
    }
    return number * Factorial(number-1);//Recursive call
}
Posted by: Guest on September-14-2021

Code answers related to "recursive function c#"

C# Answers by Framework

Browse Popular Code Answers by Language