06-29-2017 06:07 AM - edited 06-29-2017 06:15 AM
Heres mine!
(Small edit: didn't handle zero before)
07-18-2017 06:40 AM
Hi Everyone,
It looks like I might have done a competition that was a bit too easy this time around! We've had a lot of correct answers.
This challenge's winner is sankar06! I'm working on getting you your free certification exam now! Congratulations!
We'll be back with another challenge in the next few months so keep an eye out for the next LV Digest
Here are some of our other entries, all quite different from each other.
Highlight - nice checking that the number is positive with the case structure!
Another different example again, using some best programming practices here with the wait for ms function. Always good to make it a habit!
This was the only VI I checked that properly accounted for the fact that the number 1 can be both 0! and 1!. Something I hadn't considered myself.
05-25-2018 10:32 AM - edited 05-26-2018 09:10 AM
Not relevant. Please skip
05-25-2018 10:53 AM - edited 05-25-2018 11:27 AM
@chandrahasd23 wrote:
Simplest way to find the factorial of a number
In summary, you code is not the "simplest way". It's not even the correct way! 😄
To calculate a factorial, even is the result has tens of thousands of digits, have a look here:
02-18-2019 04:26 PM
This is my solution.