write a program to print the factorial of its digits
Answers
Answered by
0
Answer:
i think this is right answer
Explanation:
Let's see the factorial Program using loop.
#include<stdio.h>
int main()
{
int i,fact=1,number;
printf("Enter a number: ");
scanf("%d",&number);
for(i=1;i<=number;i++){
fact=fact*i;
Similar questions