I'm developing a game. Assume I have 5 kids. Every kid has different amount of chocolates. Assume each of them has:
- KID 1 has 5 chocolates
- KID 2 has 10 chocolates
- KID 3 has 5 chocolates
- KID 4 has 2 chocolates
- KID 5 has 1 chocolates
What I want is to find the percentage of balance of chocolates. Like if they all have equal amount of chocolates the percentage will be 100%. Yeah, this percentage is a score of the game.
Do you have any logic to find this out? Please help.. Thanks!