Page 1 of 1

What would happen if a negative value is passed to a method that returns the factorial of the value passed to it? the me

Posted: Tue Jul 12, 2022 8:09 am
by answerhappygod
What Would Happen If A Negative Value Is Passed To A Method That Returns The Factorial Of The Value Passed To It The Me 1
What Would Happen If A Negative Value Is Passed To A Method That Returns The Factorial Of The Value Passed To It The Me 1 (19.92 KiB) Viewed 81 times
What would happen if a negative value is passed to a method that returns the factorial of the value passed to it? the method would terminate immediately O the method will calculate a negative value for the factorial of the number O an infinite sequence of recursive calls will occur the method will calculate the correct value for the factorial of the number