Task: Write a program that asks a user for a filename. This file has a bunch of integers. Your program will read these integers in, one by one, and calculate the factorial of each of them. These factorials will be written out to another file.
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 use nested loops and files.