+ 2

Challenge

i challenge everybody to make a program in Javascript to calculate Factorial of an number let's star.

8th Feb 2018, 2:53 PM
Emidio Maria Ngulele
Emidio Maria Ngulele - avatar
5 Answers
+ 15
//!(looks like a challenge question) run a loop n-1 times ... b = 2 to n int a=1; //initially write a*=b; inside loop System.out.print(a),
8th Feb 2018, 3:23 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 1
@Gaurav Your code is actually Java while the challenge is for JavaScript 😋
8th Feb 2018, 3:38 PM
dim_knp
dim_knp - avatar
0
good I like this
11th Feb 2018, 3:10 PM
Emidio Maria Ngulele
Emidio Maria Ngulele - avatar