Question: I am simulating a tournament in this java program, I have simulated everything for it. The match results, winner, and (starting at knockout stages, disregarding

I am simulating a tournament in this java program, I have simulated everything for it. The match results, winner, and (starting at knockout stages, disregarding group stages) 16, quarter, semis, and final. I have made an array already to fit in all of this information, but my issue is pairing that numbered data with the team names. Any suggestions on how to do that? I did not put my code for personal reasons, but just a small example is all I ask. Maybe simulate the semi towards final or tell me how I would connect string of names to numbered data (and if statements I'm assuming).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!