- 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 80 times
What would happen if a negative value is passed to a method that returns the factorial of the value passed to it? the me
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
What would happen if a negative value is passed to a method that returns the factorial of the value passed to it? the me
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