HELPPPPPPPPPPP!!!!!!!!!
ANY CLUE WHAT I HAVE TO DO!!!!!!!!!
In the NHL, players are often rated according to how many goals they score per game.In a regular season, the players play 82 games.If a player does not score in more than 7 games, they are often considered to be in a slump.If they score for 5 games in a row, they are considered to be on a streak.Given the scoring information below for three flames players, run a simulation of 10 seasons; each with 82 games. How many times will each player go on a streak or slump in each season?
Player
Goals / Shots taken (scoring percentage)
Jarome Iginla
50/338 (14.8%)
Matthew Lombardi
14/181 (7.7.%)
Daymond Langkow
30/201 (14.9%)
The output should look somethings like this:
Season 1:
Jarome Iginla:
Shots taken: 300
Goals scored: 46
Shot percentage: 15.3%
Streaks: 3
Slumps: 2
Matthew Lombardi:
Shots taken: 166
Goals scored: 26
Shot percentage: 15.7%
Streaks: 2
Slumps: 3