java2

skulcandy1190

java

This assignment will count as both homework and lab.

Develop a program that will allow the user to display the starting line and the bench for a basketball team.  The user will also have the option of swapping out players from the starting line up with those from the bench.  The last option will be to Set a starting lineup.  

Sample menu (from class):

1.  Display Starting Lineup

2.  Display Bench Players

3.  Swap in a player 

4.  Set Starting Lineup

0.  Exit

 

REQUIREMENTS:

-  Use ArrayLists

-  User defined class

-  Pseudocode/Flowchart

-  Error check all selections

 

 

and 

 

Write a program that will store the Lakers (or your favorite basketball team) roster in an array.  You will then loop through the array to display each player and their information.

Information needed for each player:  First Name, Last Name, Jersey Number, Position, College Attended.

REQUIREMENTS:

- use fields, methods, user-defined class, FOR loops, array.

- you will have to research the roster for the information and prompt the user to enter each player's info.  After info is complete.  Display roster

 
    • 9 years ago
    • 20
    Answer(1)

    Purchase the answer to view it

    NOT RATED
    • java.zip