Question: Write a program using C that computes factorial for any input number repeatedly until -7 is entered. Example input and output: Please enter number between
Write a program using C that computes factorial for any input number repeatedly until -7 is entered.
Example input and output:
Please enter number between 1 and 10 for factorial calculation (-7 to end) :5
factorial for 5 is 120
Please enter number between 1 and 10 for factorial calculation (-7 to end) :6
factorial for 6 is 720
Do not add any logic to limit the input. The limit between 1 and 10 is to keep the calculation and output simple.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
