Question: Write a flow chart for this process: private static void displayTeam(String team, String[] yearsPlayed, int count) { //Builds the year string using the yearsPlayed array
Write a flow chart for this process:
private static void displayTeam(String team, String[] yearsPlayed, int count) { //Builds the year string using the yearsPlayed array String year = ""; //loop that runs the amount of times the team has won for(int i = 0; i < count; i++) { year += yearsPlayed[i]; year += " "; } //shows the user the end results System.out.println(" Results Team : " + team + " Total Won series: " + count + " Years: " + year); }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
