Answers for "what is meaning of product *= in c"

C
1

what is meaning of product *= in c

meaning of product*= number in C language is 
product = product * number
Posted by: Guest on September-15-2021
0

what is meaning of product *= in c

#include<stdio.h> 

int main(){
    int a, n;
    printf("Enter the number !\n");
    scanf("%d",&n);
int product=1;
for(a=1;a<=n;a++){
    
product*=a;

}

printf("The factorial of %d is %d \n",n,product);

    return 0;
}
Posted by: Guest on September-15-2021

Code answers related to "what is meaning of product *= in c"

Code answers related to "C"

Browse Popular Code Answers by Language