Question: Your goal is to create a soccer team registration program by using C# programming language. Your program should: 1. Accept athlete names from the coach.

Your "goal" is to create a soccer team registration program by using C# programming language.

Your program should:

1. Accept athlete names from the "coach". There can be up to twelve athletes on a team. You can do this many ways, for example, have twelve textboxes to accept the information. However, after you received the information from the coach, make the boxes disappear (visibility property set to "false" for each box).

For those that want a challenge, try importing the Visual Basic input box (see http://www.c-sharpcorner.com/Blogs/3270/inputbox-in-C-Sharp-net.aspx for an example).

2. As the athlete names are entered (or after they are entered), they should appear in a listbox (you will need to use the "add" function of the listbox to place them in the box).

3. After all the players are entered and show up in the listbox, the program should allow the coach to fix any problems. The easiest way to do this is allow the coach to respond, "yes" or "no" that the roster is correct (could use radio buttons, textbox, or the VB inputbox for this). If the coach answers "no", you can just empty out the listbox and go back to requesting all the player again.

If you want another challenge, try to give the coach the ability to select which player is wrong and just fix that player.

4. Once the roster is correct, the program should determine how much the coach has to pay to enter the match. The cost is $15 per athlete up to ten players. Player 11 and 12 are free. At some point when you were allowing the coach to enter the players you probably need to have a variable counting how many players have been entered.

5. Once the price has been determined, a message should display, similar to "Your team cost for entering the Sugar and Spice Soccer tournament is $50".

You may want to use panels, and/or the ability to turn visibility on and off to only show those objects needed for each step. You can also do this with your buttons...You could have multiple buttons but only show one at a time for the coach to press and she completes each step.

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!