Can you order this code so the while loop computes the factorial of 10 and displays it?

Psst: a number's factorial is the number we get when we multiply every number from 1 to, well, the number.

Great! We create factorial to buffer the result and i for the numbers up to 10. Then we open the while loop and increase i before we multiply it into the factorial.

Close! We create factorial to buffer the result and i for the numbers up to 10. Then we open the while loop and increase i before we multiply it into the factorial.