Posts by Paulo Machado • 11 points
1 post
-
1
votes2
answers7697
viewsQ: Write each step of a factorial calculation
I have a piece of code that calculates the factorial of a number in Javascript, but I wanted it to return the steps of each calculation, ex: 3! = 1x2x3 = 6 Follow the code I made. I tried "printar"…