gina4uncc
11-12-2005, 06:09 PM
Hi Guys
I am fairly new to this site but I have had a great amount of success from the information youhave provided others. Hope I have the same luck as them. ;) The class is a beginners javaII class and im completely lost on this one.
I am going to do some other searching on the internet so if you would email me with if you know possible solution that would be awesome ***
Email = gina4uncc@gmail.com
Assignment =
Working with Java arrays of objects.
The assignment is as follows: The following tournament parings data will be given in random order and the program code should then place it into the array in the appropriately ordered position. The number of teams to be processed will be the same.
A driver class class and a class to create the team object should be written. An array of objects ordered by team wins should be created as the input data is received, and then the pairings can be made as described above. The driver class should be named Order.
INPUT:Sample Input data:(This is only a sample)
Team name Wins
GT 30
UT 18
UVA 17
UAB 16
UNCC 32
GSU 29
USC 25
UM 24
The input data form the table above should be entered from the keyboard,. There can be varying numbers of teams entering the tournament, it 4,8,16,32 or 64; therefore the sample input daya will vary for testing purposes.
OUTPUT: Output is to consist of an ordered list of the original teams along with therir number of wins and the first round pairings in the class. Ouput can be formatted as you wish.
:p
I am fairly new to this site but I have had a great amount of success from the information youhave provided others. Hope I have the same luck as them. ;) The class is a beginners javaII class and im completely lost on this one.
I am going to do some other searching on the internet so if you would email me with if you know possible solution that would be awesome ***
Email = gina4uncc@gmail.com
Assignment =
Working with Java arrays of objects.
The assignment is as follows: The following tournament parings data will be given in random order and the program code should then place it into the array in the appropriately ordered position. The number of teams to be processed will be the same.
A driver class class and a class to create the team object should be written. An array of objects ordered by team wins should be created as the input data is received, and then the pairings can be made as described above. The driver class should be named Order.
INPUT:Sample Input data:(This is only a sample)
Team name Wins
GT 30
UT 18
UVA 17
UAB 16
UNCC 32
GSU 29
USC 25
UM 24
The input data form the table above should be entered from the keyboard,. There can be varying numbers of teams entering the tournament, it 4,8,16,32 or 64; therefore the sample input daya will vary for testing purposes.
OUTPUT: Output is to consist of an ordered list of the original teams along with therir number of wins and the first round pairings in the class. Ouput can be formatted as you wish.
:p