Lab: For loops

Task: Write a program that asks the user for a number and then calculates the factorial of that number and prints it out.

The factorial of a number, n, is all of the numbers from 1 to n multiplied by each other. For example, the factorial of 5 is 1*2*3*4*5=120, the factorial of 3 is 1*2*3=6, etc.

Purpose: The primary purpose of this lab is to introduce for loops.