Micron Technology Interview Question

Write a pseudo code to do a number factorial