Can you Help me?

Create an application that will ask the user for a number between 1 and 10 and then output the factorial of that number. Use a for loop to calculate the factorial.

What is a factorial? A factorial is the product of all the numbers from 1 to the number specified. For instance, if the number is 4, then 4! (4 factorial) is 4 * 3 * 2 * 1 = 24. 7! = 7 * 6 * 5 * 4 * 3 * 2 * 1 = 5040. Since the output for the factorial grows quickly, we will limit the numbers from 1 to 10.
◦Use the while loop to allow the user to execute the program as many times as they want.
◦Use a for loop to calculate the factorial
◦Use an if statement to make sure that the number is less than or equal to 10 but greater than 0
◦Read the number in as an Integer

I get the same output value each time i run the application. I get 3628800; s the factorial of numbers 1-10.

Step1: use while loop to see if the user wants to contiunue
Step2: Ask user for integer
Step3: Use the for loop to calculate the factorials
Step4:Use the if statement to make sure integer is <= 10 but greater than 0
Step5: asks if user want to continue if no is selected program is done.

I get the same output value each time i run the application. I get 3628800; s the factorial of numbers 1-10.

Step1: use while loop to see if the user wants to contiunue
Step2: Ask user for integer
Step3: Use the for loop to calculate the factorials
Step4:Use the if statement to make sure integer is <= 10 but greater than 0
Step5: asks if user want to continue if no is selected program is done.

lets see the logic of getting a factorial:

1) we have a number say 4
2) we now multiple that number like this 4*3*2*1=factorial
3) lets get an equation to work out what number we begin multiplying with
number-1. number-1 would be the number we begin multiplying with
4) now take that logic and use a for statement. what number do we want to begin at? number-1. from there what do we want?
5) We want to decrease the number we start multiplying with by 1 so we will use '--'.
6) and what is the last constraint the number we multiply never gets to zero.