The program I have to write is one with this given scenario........
If someone was drawing 50 balls from a bucket, each number would represent a persons name. But it would randomly change every time if you picked the same number. I know this sounds dumb, but it's something I was assigned.
How would I do this? Any help would be appreciated, and also im a beginner.
Well start like you would any other word problem, for any other class. If it was a math class you would identify the variables and constuct an equation for it and solve for x ,or what have you. In this case, you'll want to take the word problem they gave you, and come up with a plan to solve the problem using your coding skills. No one here is going to do your homework for you, but we'd all love to help walk you through getting it done.
If someone was drawing 50 balls from a bucket, each number would represent a persons name. But it would randomly change every time if you picked the same number.
... but if the number is not bound to a name what's the point of using a number for each ball?