Question: Create a five-element indexed array that stores the names of the Great Lakes. . Add to the middle of the array Lake Tahoe and lliamna

Create a five-element indexed array that stores the names of the Great Lakes. .

Add to the middle of the array "Lake Tahoe" and "lliamna Lake", two large lakes in the United States under consideration for being included as Great Lakes. Output the new array.

Remove "Lake Ontario" and "Lake Erie" from the array as these have been disqualified due to budgetary issues. Output the new array.

Output a slice of the array containing the names of your favorite lakes GFORGE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!