Specific requirements: 1, can choose the number of selected, such as optional 3 people 5 people,
2, which for the number of selected 10 group, for example, want to do such as to choose A total of three people, extraction with 2 people selected from A group, I want to make A selection box, which group of smoking two people can choose from), the remaining one from the other 9 groups other than group A,
3, because users don't have any program, so I hope list use TXT text or EXCL form to do, it's easy after modification,
4, the last is to show extraction time,
Hope to help the younger brother who is a great god through,
CodePudding user response:
Baidu search relevant keywords,CodePudding user response:
The building Lord said forget the quotation,This thing, from the perspective of "technology" said no difficulty, but by no means a small piece of code can get it under control,
There are some "details", such as your article 4:
This is not, "selected" instantaneous can I do for you, why should the "time", what's the "connotation"...
CodePudding user response:
Have you not to ask questions, this is exe, send project outsourcing,Send project address:
http://www.csto.com/
CodePudding user response:
1, initialization data have several groups of people will get several array and the names into the first array2, the random array upset, it is to set a certain number of cycles, each generated two in random integer in the range of the array index, then put the two elements a change of position, several times after the order is random,
3, according to the requirement of your business, from several array to extract the last element, extract a delete a ensure that will not be repeated