Question: CPS 1231 Chapter 7-lab 2 Fall 2017 In a Doc write the code as requested: Declare and create array which contains the integer values shown.

 CPS 1231 Chapter 7-lab 2 Fall 2017 In a Doc write

CPS 1231 Chapter 7-lab 2 Fall 2017 In a Doc write the code as requested: Declare and create array which contains the integer values shown. Name the array, myList. myList 35 78 1. Using an initializer list 2. Declare the array without an initializer list. Use assignment statements to store the values shown, for example myList[3]-1000; Print the elements of myList as shown below without using a loop: 88 35 44 78 1 3. 4 Print the elements of myList as shown below using a loop 88 35 44 781 Print the elements of myList as shown below without using a loop: 1 78 44 35 88 5. 6. Print the elements of myList as shown using a loop: 1 78 44 35 88 7. Start the index value at Print the elements of myList as shown using a loop. myList.length -1 1 78 44 35 88

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 Databases Questions!