Computer Science, asked by aflal00, 1 year ago

write a c program to find factorial of given number using while loop.​

Answers

Answered by kgurjeet603pduuxd
1

First the computer reads the number to find the factorial of the number from the user.

Then using while loop the value of 'i' is multiplied with the value of 'f'.

The loop continues till the value of 'i' is less than or equal to 'n'.

Finally the factorial value of the given number is printed.

Similar questions