0
factorial formula
how to calculate factorial in c++ ? im using :- #include <iostream> using namespace std; factorial is like when we input n=5, the calculation is 5*4*3*2*1 so the answer is 120
5 Antworten
+ 2
I see, alright thank you very much sir ! :)
+ 2
~ swim ~
Wow, your explanation is very helpful and clear. Thank you so much sir for your time ! 😊
0
I'm sorry but I don't understand your code, I'm pretty new in coding.
0
Thank you so much both of you. I get it. Thank you again for your time ! :)
0
But one more question, what is the different if I use while and for ?