homework right?

well we won't give you code. well at least I hope not. But you will need to loop from 1 to 10 and calculate the factorial of each. That's an outer loop. The inner loop should do the factorial itself on the number that comes from the outer loop. By the time you finish the inner loop, you 'll have the factorial value for that stage. Print it. Move on.