A C# Program to Analyze Distance Traveled by Basketball Team
Not what you're looking for?
You are performing some analysis on a basketball league, and would like to know the relationship between how far a team has to travel from home and how often it wins.
You have the following two files, which are dos-pipe (|) delimited containing data with row headers:
Team File: Fields are TeamID, TeamName, TeamArenaAddress
Win File: Fields are TeamID, Year, Wins
Assume that in a given year, every team plays every other team twice, once at its own arena, and once at the other team's arena.
<<Problem>> Create a dataset that with the following fields: TeamName, TotalDistanceTraveled. The field TotalDistanceTraveled should measure the distance the given team travels in a single year, in kilometers. This dataset should be ordered from the team which travels the most to the team which travels the least. Geocoding and distance calculations should be performed via code, and not done manually.
Purchase this Solution
Solution Summary
The program will read information from files about the basketball teams that includes team name and address. It will then calculate how much distance each team travels during the season and will output these results.
Solution Preview
Dear student. Please find attached the complete C# project. The executable is located within the bindebug folder if you wish to run it without Visual Studio. All code is in Program.cs. The program execution looks like shown below. A webservice provided by http://maps.googleapis.com/maps is used ...
Purchase this Solution
Free BrainMass Quizzes
Basic UNIX commands
Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.
Basic Computer Terms
We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.
Javscript Basics
Quiz on basics of javascript programming language.
C++ Operators
This quiz tests a student's knowledge about C++ operators.
Inserting and deleting in a linked list
This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.