Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JAVA project help, please! Learning Objectives 1. (65 points) Program runs successfully a. (10 points) Inputs Team name from the user using a Scanner object.

JAVA project help, please!

image text in transcribedimage text in transcribedimage text in transcribed

Learning Objectives 1. (65 points) Program runs successfully a. (10 points) Inputs Team name from the user using a Scanner object. b. (10 points) Tracks win counts based on these team names c. (10 points) Repeats until x is entered d. (20 points) Outputs all of the data input, correctly sorted by wins e. (15 points) Correctly outputs winner, including using a random number to choose between multiple winners 2. (35 points) Program contents follow readability standards including (20 points) Correctly use ArrayList to store data (5 points) Correctly use the "Prime the Read" method for inputting data before a sentinel loop a. b. Note: You may not use any break or continue statements in your program to earn these points. i. (5 points) Correct variable types with Useful, Camel-case identifiers and proper tabbing (5 points) Document your code with at least 5 helpful comments c. d. Put comments above the lines of code they are documenting, not to the right. i. Note: This project is VERY similar to Project 3 however, you must write this program from scratch without referring to your previous work. Using your previous project is academic misconduct. Summary We will re-create our win tracker from scratch using ArrayLists and Objects instead of arrays and primitive data. I have provided a partial Team Class. You will complete this class and use it for this project. The details of what the project will do are very similar to Project 5, so I have highlighted the differences in yellow to help them stand out. Remember to submit your completed version of Team.java in your submission on Canvas Details Your program will track each win input by the user by first getting the name of a team that has won a game. (Note: This team name will not have any spaces in it, so you can use the next0 method instead of .nextLine if vou prefer). If this name is "x", then the program will output the winner and exit. Your program will need to handle 0 teams if the user immediately exists the program. See the examples below for the output text to use. You will have no idea how many teams are playing, so you will need to use an ArrayList to track the current size and manage the list capacity. The program will check to see if a

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning VB 2008 Databases

Authors: Vidya Vrat Agarwal, James Huddleston

1st Edition

1590599470, 978-1590599471

More Books

Students also viewed these Databases questions

Question

Describe what is meant by the term IP convergence.

Answered: 1 week ago

Question

10. Are you a. a leader? b. a follower? _______

Answered: 1 week ago

Question

What did they do? What did they say?

Answered: 1 week ago