+ 2

# How can write program to calculate £(summation 1_5)x!/y!

loop

13 Answers

+ 1

https://youtu.be/cNze5ZAlp2w SEE C PROGRAM SUMMATION

+ 8

JAVA
int fact =0;
for(int x=1;x<=5;x++){
fact=fact +( fact(x)*fact(y));
}
For method fact ,see my code
https://code.sololearn.com/cym9PjHSlinN/?ref=app

+ 8

Any other problem, comment down.I will not answer now as it is bed time. Good night.

+ 7

well, fact will ADD to some non zero number inside the for loop.Hence the loop will run 5 times,each time add some non zero stuff to fact,which was initailly zero but now has some value.

+ 2

these are total limits of summation

+ 1

what is 1_5

+ 1

1 through 5?

+ 1

but there are two variables?

+ 1

yes

+ 1

and I think summation start from number 1 to number 2

+ 1

how can you make int fact=0

+ 1

or input this equation for 5 times

+ 1

https://youtu.be/cNze5ZAlp2w SEE C PROGRAM SUMMATION