Viasat interview question

create a program to find the Factorial