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 firstordefault return null?
how encapsulation is implemented in c#
Does unity use c++ or c#?
What are the examples of data types?
Why dataset is used in c#?
What is unsigned int?
What are events in C#?
What is datasource c#?
How Is The Dll Hell Problem Solved In .net?
What is the difference between select and selectmany?
Why do we need indexer in c#?
Can we make a class private in c#?
Does c# replace c++?
Is it not possible to store a boolean value as a variable?
What is final keyword in c#?