Print my team roster as a numbered list, one player perline, with how many players there are at the top. The teamchanges during the season, so it has to work for any numberof players.Write your requirements list before you write any code. Input, calculate, output, and anything you had to decide for yourself.
Only one-star challenges have this section. If you already know how to begin, skip it — and when you move up to two stars, working out the order yourself is part of the job.
.Length.for loop over every index of the array.Team roster (5 players):1. Avery2. Blake3. Casey4. Dakota5. EmeryVerified in a real run, and again with a sixth player added.
Your requirements list and your program file, named cc-roster-print.