Last active
July 5, 2019 16:50
-
-
Save SOURAV-ROY/c37e96b7144f560f2fda to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
int i, n, fact = 1; | |
printf("Enter The Number\n"); | |
scanf("%d", &n); | |
for (i = 1; i <= n; i++) | |
fact = fact*i; | |
printf("Factorial The Number %d = %d\n", n, fact); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment