0

Can i make a program with JavaScript that can make every possible combination of 11 players out of total 22 players?

21st Sep 2020, 11:35 AM
Pawan
Pawan - avatar
4 Answers
+ 5
Yes it's possible if you try.
21st Sep 2020, 11:46 AM
The future is now thanks to science
The future is now thanks to science - avatar
+ 5
11 persons out of 22 persons can be selected in ²²C11= 22!/11!×11! = 705432 no. of ways take two variable and use formaula and calculate it and print result
21st Sep 2020, 12:34 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 4
This looks like an assignment or something of that sort But yes, this should be possible with a nested for loop🤔
21st Sep 2020, 11:46 AM
Vachila64☕
Vachila64☕ - avatar