wap to read any no.and
find factoral of givan no.
Answers
Answered by
6
Answer:
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*
Explanation:
hope it is helpful please follow add brain list
Answered by
1
Answer:
#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;
I hope help at all
please like brother and sister
Similar questions