Write the program that will calculate and display the career statistics for a hockey player. The program must be written in Visual Basic 2008 console application.

Assistance needed.

You will need to decide

1. the hockey player.
2. the statistics you wish to display, assuming they are available.

Then, you will need to collect the statistics for the specified hockey player, and organize the data so that you can display them.

If the information is not directly displayable, you will need to do calculations, such as averages, totals, maximum goals per season, etc.

Finally, you will design a program that will display the statistics, in table form, graphics, charts, etc. depending what you have learned in class, or your teacher's specifications.

If you need further help, or if you need programming help, post your code and we should be able to help.

12

Sure! I can help you write a program in Visual Basic 2008 console application that calculates and displays the career statistics for a hockey player. Here's how you can do it:

Step 1: Set up the Visual Basic 2008 Console Application project.
- Open Microsoft Visual Basic 2008 and create a new Console Application project.
- Name the project, choose a location to save it, and click "OK."

Step 2: Declare variables for the hockey player's statistics.
- In the code editor, declare the necessary variables to record the hockey player's career statistics. For example, you might need variables like "gamesPlayed," "goals," "assists," "points," etc.

Step 3: Prompt the user for input.
- Use the "Console.WriteLine()" function to prompt the user to enter the required values for each statistic (e.g., games played, goals, assists, etc.).
- Use the "Console.ReadLine()" function to read the user's input and assign it to the corresponding variables.

Step 4: Calculate and display the career statistics.
- Use the variables and appropriate formulas to calculate the career statistics (e.g., points = goals + assists).
- Use the "Console.WriteLine()" function to display the calculated statistics. For example:

Console.WriteLine("Career Statistics:")
Console.WriteLine("Games Played: " & gamesPlayed)
Console.WriteLine("Goals: " & goals)
Console.WriteLine("Assists: " & assists)
Console.WriteLine("Points: " & points)

Step 5: Run the program.
- Build and run the program to test it.
- The program will prompt the user for input and then display the calculated career statistics.

That's it! You should now have a basic program that calculates and displays the career statistics for a hockey player using Visual Basic 2008 console application. Feel free to customize and expand upon this code to suit your specific needs and requirements.