do you know a way to split an integer into say... 5 groups. Each group total must be at random but the total of them must equal a fixed number.
for example I have \"
I think the trick to this is to keep setting the ceiling for your random # generator to 100 - currentTotal