Creating a que
I need my program to create a revolving cue from entries made by individuals.
If sally enters 3, george enters 2, pat enters 1 and kelly enters 5 then it
should list the entries as so:
1.)Sally 7.)Kelly
2.)George 8.)Sally
3.)Pat 9.)Kelly
4.)Kelly 10.)Kelly
5.)Sally 11.)Kelly
6.)George
If on the 3rd kelly entry (number 9) Don makes 2 entries then from line 10
the script would be
10.)Don
11.)Kelly
12.)Don
13.)Kelly
Any suggestions on this?
|