Question: Java Coding Only Please. Until recently, the local junior high school of Geneva, North Carolina offered only freeze tag and the infamous rope climb in

Java Coding Only Please.
Until recently, the local junior high school of Geneva, North Carolina offered only freeze tag and the infamous rope climb in its physical education class. However, in an attempt to be more progressive, it has just added the new sport of competitive programming to its physical education lineup. When picking teams for the rope climb, students first consider strength, followed by speed, and then intelligence. When picking teams for freeze tag, students first take into account speed, then intelligence, and then strength. When picking teams for programming, students first take into account intelligence, then speed, and then strength. Write a program that accept student names and attributes as input (how you accomplish this, is up to you) and display the order in which the students are chosen for each sport. Tiebreakers are explained in the Example section of this document.
Input:
Each student is represented by four input items: a student's name followed by the student's strength, speed, and intelligence (in this order). Ensure that no two students will ever have all 3 qualities the same with proper input validation. Some qualities may be shared, but not all three. Ensure that names will always consist of only letters, and scores will always be input as numbers only. Scores can range from a high of 100 down to a low of -10, this validation also needs to be built into your program. The number of students entered will vary, but we will always have at least 1.
Output:
Display the order in which the students would be chosen for each sport using the format shown in the example below, to the screen. Your output may appear different, as long as the correct output is displayed for the end-user in an efficient manner.
Example:
For the Rope Climb we pick based on strength, making Jon first, Bob second, Cathy third, and Sue last. For Freeze Tag, Jon, with 18 speed points, is picked first. Since the other three all have speed ratings of 11, we must choose based on intelligence as the tiebreaker, making Sue second. Since Bob and Cathy both have 29 intelligence points, we must choose based on strength for these two students as the tiebreaker, making Bob next, and Cathy last. For Programming, Sue, with 50 intelligence points, is chosen first and Jon is last. Since Bob and Cathy tie for intelligence and speed, we must choose between them based on strength, making Bob second and Cathy third.
Input Example (The layout and how you gather the input from the user is completely up to you - remember, you will have to ask how many students will be input first, since we may have any number higher than 1- this is just an example for your testing purposes):
Jon,30,18,7
Cathy,16,11,29
Bob,20,11,29
Sue,10,11,50
Output (The layout/format of the output is completely up to you, but here is an easy idea):
Rope Climb: Jon Bob Cathy Sue
Freeze Tag: Jon Sue Bob Cathy
Programming: Sue Bob Cathy Jon
The program needs to be designed using a Driver Program and a Class that has the methods/objects needed for this.
Finally, how would I use the files together to run the code properly?

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 Programming Questions!