C Program to Find Factorial of a Number

0
5
programming solution

 Question: 

Write a program that prompts the user to enter a positive number and computes factorial using for loop like output sample.

 Output Sample: 

InputOutput
3
10
-5
-10
Factorial: 3628800
Factorial Input Error!
Factorial Input Error!

 Source Code: 

 List of C Exercises: 

LEAVE A REPLY

Please enter your comment!
Please enter your name here