I am having trouble solving these questions that could be on my test in 3 hours:

1. 5 factorial is the product of 5, 4, 3, 2, 1. 10 factorial is the product of the integers 10 down to 1. Write a program that displays the value of 5 factorial. In the same program compute and display the value of 10 factorial making use of the result you computed for 5 factorial. Be sure to display your results with appropriate labels.

2. Write a program that computes and displays with an appropriate label the value of

(5) (6) (7)

------------

(2) (3)