The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 5 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
Background
One of the advanced statistics for evaluating basketball players is net +/- rating.There are many forms of this rating but, in its basic form, it measures the difference between the team's point differential while the player is in the game and the point differential when the player is not in the game. The measure is often scaled to 100 possessions but you will simply calculate the total for each player over an entire season.
Â
Procedure
Extend your solution to Asn3 to calculate the net +/- rating for each player. For a given team, if you have the point differential for each lineup used by the team during the season, you can calculate the +/- rating for each player by summing the point differentials for lineups that include the player and subtracting the point differentials for lineups that don't include the player.
Prompt the user to print a team name (HOU, UTA, etc) then print the +/- rating for each player on that team for the 2009 season. For full credit, print the players and their ratings in descending order of rating. Quit when the user enters 'quit' or 'q'.
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll