+ 1
Where I'm wrong?
I want to get n! https://code.sololearn.com/WHW9aQ17PED9/?ref=app
2 Antworten
+ 3
Don't declare var sum ; in loop.
Declare before loop and assign to 1
var sum = 1;
for(....) {
..
}
+ 1
Jayakrishna🇮🇳 thanks
I want to get n! https://code.sololearn.com/WHW9aQ17PED9/?ref=app