TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rameez Javed
NA
395
61.6k
Equal Distribution of Data
Apr 26 2021 7:05 PM
Hi, I want to distribute data equally to training centers (6 centers), here is the scenerio,
I've random data it may vary the counting, it includes education level, height, cast now what I want to do is, I want to distribute passed players into different training centers but with max level equality. Suppose I've 240 players passed the trial exam for county training I want to send them to training center with equal no of players to each center, with equality in education, height and cast.
If there are 18 Graduates these must be distributed 3 each.
If there are 13 Graduates these must be distributed 2 each and 1 will be to any which lacks in previous distribution.
If there are 10 players with 5.8 inch height these will be distributed 1 each to all centers and remaining 4 will be 1,1,1,1 to any 4 center which lacks in previous distribution.
If there are 27 players with 5.4 inch height these will be distributed 4 each to all centers and remaining 3 will be 1,1,1 to any 3 center which lacks in previous distribution.
same criteria for cast too...
Reply
Answers (
0
)
How to call the stored procedure from java script.......
How to bind grid view or repeater control without post back