GUVI
Back

can u help me where i have gone wrong

Created 2 years ago
46 Views
2 Comments
Venkata9u5hyI
@Venkata9u5hyI
Venkata9u5hyI
@Venkata9u5hyIProfile is locked. Login

question: to find factorial

let N=userInput[0]

let fact=1

for(let i=1;i<=N;i++){

fact=fact*i

}

console.log(f)

Comments (2)
Please login to comment.
 
Powered by habitate.io Habitate