This lab is for students to practice with loops.
1. Suppose n is an integer. Then define
n! = 1x2x3...xn
Write a simple program to calculate the value of n!
start from n = 2 to 10.
2. Try larger value of n for n!. Note the computer
has limitations of an integer to 2147483647. Change
the program in problem 1, so that you can find the largest
value of n satisfying n! < 2147483647.