Barclays Interview Question

Write a pseudo code for finding the factorial of a number?