Answer Posted / shanker
int numberfactorial(int number)
{
if (number == 1) {
return number;
}
else {
return number * numberfactorial(number - 1);
}
}
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Can abstract class have private constructor c#?
Is java better than c#?
What is the difference between icomparer and icomparable in c#?
Can an exception be thrown from a catch block?
What is default constructor in c#?
What is routing in c#?
Can a method be sealed in c#?
What is Fragmentation and its Types?
What is part of a method signature in c#?
List the fundamental oop concepts?
What is multithreading? What are the problems that comes with multithreading and how to manage them?
How do you name a variable in c#?
What does m mean in decimal c#?
What is a multicast c# delegate?
What is console write in c#?